diff options
Diffstat (limited to 'app/controllers/queries_controller.rb')
-rw-r--r-- | app/controllers/queries_controller.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/app/controllers/queries_controller.rb b/app/controllers/queries_controller.rb index 241b5176c..3bc326fe1 100644 --- a/app/controllers/queries_controller.rb +++ b/app/controllers/queries_controller.rb @@ -50,7 +50,6 @@ class QueriesController < ApplicationController build_query_from_params end - verify :method => :post, :only => :create, :render => {:nothing => true, :status => :method_not_allowed } def create @query = Query.new(params[:query]) @query.user = User.current @@ -70,7 +69,6 @@ class QueriesController < ApplicationController def edit end - verify :method => :put, :only => :update, :render => {:nothing => true, :status => :method_not_allowed } def update @query.attributes = params[:query] @query.project = nil if params[:query_is_for_all] @@ -86,7 +84,6 @@ class QueriesController < ApplicationController end end - verify :method => :delete, :only => :destroy, :render => {:nothing => true, :status => :method_not_allowed } def destroy @query.destroy redirect_to :controller => 'issues', :action => 'index', :project_id => @project, :set_filter => 1 |