From 22b42dc90a86b16904224bf638054fffd062b53f Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 17 Mar 2007 14:50:08 +0000 Subject: [PATCH] fixed self.down in AddSearchPermission migration git-svn-id: http://redmine.rubyforge.org/svn/trunk@338 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- db/migrate/025_add_search_permission.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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