fixed self.down in AddSearchPermission migration
git-svn-id: http://redmine.rubyforge.org/svn/trunk@338 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
e6f58e4dcc
commit
22b42dc90a
|
@ -4,6 +4,6 @@ class AddSearchPermission < ActiveRecord::Migration
|
|||
end
|
||||
|
||||
def self.down
|
||||
Permission.find_by_controller_and_action('projects', 'roadmap').destroy
|
||||
Permission.find_by_controller_and_action('projects', 'search').destroy
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue