summaryrefslogtreecommitdiffstats
path: root/db/migrate/025_add_search_permission.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-03-17 14:50:08 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-03-17 14:50:08 +0000
commit22b42dc90a86b16904224bf638054fffd062b53f (patch)
treec43b482964c5f562e86003c4ccdc9785f3d3455d /db/migrate/025_add_search_permission.rb
parente6f58e4dcc2f7552109da139857a19b81c6f1fe1 (diff)
downloadredmine-22b42dc90a86b16904224bf638054fffd062b53f.tar.gz
redmine-22b42dc90a86b16904224bf638054fffd062b53f.zip
fixed self.down in AddSearchPermission migration
git-svn-id: http://redmine.rubyforge.org/svn/trunk@338 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/025_add_search_permission.rb')
-rw-r--r--db/migrate/025_add_search_permission.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/025_add_search_permission.rb b/db/migrate/025_add_search_permission.rb
index 212a4dc59..408716eb6 100644
--- a/db/migrate/025_add_search_permission.rb
+++ b/db/migrate/025_add_search_permission.rb
@@ -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