]> source.dussan.org Git - redmine.git/commitdiff
fixed self.down in AddSearchPermission migration
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 17 Mar 2007 14:50:08 +0000 (14:50 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 17 Mar 2007 14:50:08 +0000 (14:50 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@338 e93f8b46-1217-0410-a6f0-8f06a7374b81

db/migrate/025_add_search_permission.rb

index 212a4dc59c0024925469a4d9b6105f1757830133..408716eb69a71bfd81488ea14d9806143028c1a3 100644 (file)
@@ -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