From b3866b05c14bd0f1fff4c54051f522e03e2bec36 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 3 Mar 2012 15:09:20 +0000 Subject: Removes all #verify calls in controllers. Verification is handled at routing level now that the default route is removed. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9061 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/roles_controller.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'app/controllers/roles_controller.rb') diff --git a/app/controllers/roles_controller.rb b/app/controllers/roles_controller.rb index 9c6c1652d..67acb545d 100644 --- a/app/controllers/roles_controller.rb +++ b/app/controllers/roles_controller.rb @@ -68,7 +68,6 @@ class RolesController < ApplicationController end end - verify :method => :delete, :only => :destroy, :redirect_to => { :action => :index } def destroy @role.destroy redirect_to :action => 'index' -- cgit v1.2.3