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:
Jean-Philippe Lang 2007-03-17 14:50:08 +00:00
parent e6f58e4dcc
commit 22b42dc90a
1 changed files with 1 additions and 1 deletions

View File

@ -4,6 +4,6 @@ class AddSearchPermission < ActiveRecord::Migration
end end
def self.down def self.down
Permission.find_by_controller_and_action('projects', 'roadmap').destroy Permission.find_by_controller_and_action('projects', 'search').destroy
end end
end end