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