diff options
Diffstat (limited to 'db/migrate/20150208105930_replace_move_issues_permission.rb')
-rw-r--r-- | db/migrate/20150208105930_replace_move_issues_permission.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20150208105930_replace_move_issues_permission.rb b/db/migrate/20150208105930_replace_move_issues_permission.rb index 18578f7da..690bba23c 100644 --- a/db/migrate/20150208105930_replace_move_issues_permission.rb +++ b/db/migrate/20150208105930_replace_move_issues_permission.rb @@ -1,4 +1,4 @@ -class ReplaceMoveIssuesPermission < ActiveRecord::Migration +class ReplaceMoveIssuesPermission < ActiveRecord::Migration[4.2] def self.up Role.all.each do |role| if role.has_permission?(:edit_issues) && !role.has_permission?(:move_issues) |