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/auth_sources_controller.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'app/controllers/auth_sources_controller.rb') diff --git a/app/controllers/auth_sources_controller.rb b/app/controllers/auth_sources_controller.rb index 2a854ad48..b1150bf71 100644 --- a/app/controllers/auth_sources_controller.rb +++ b/app/controllers/auth_sources_controller.rb @@ -20,10 +20,6 @@ class AuthSourcesController < ApplicationController before_filter :require_admin - # GETs should be safe (see http://www.w3.org/2001/tag/doc/whenToUseGet.html) - verify :method => :post, :only => [ :destroy, :create, :update ], - :redirect_to => { :template => :index } - def index @auth_source_pages, @auth_sources = paginate auth_source_class.name.tableize, :per_page => 10 render "auth_sources/index" -- cgit v1.2.3