summaryrefslogtreecommitdiffstats
path: root/app/controllers/queries_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-12-23 15:19:57 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-12-23 15:19:57 +0000
commit3ef7f5855edc1193755097a4ef981ff67ea4ae56 (patch)
tree4c836a1e4da8569111b2f46051f5beb7f08b9c3a /app/controllers/queries_controller.rb
parente921d70e5331ddfbc8c6e95818a4abfa48748e0d (diff)
downloadredmine-3ef7f5855edc1193755097a4ef981ff67ea4ae56.tar.gz
redmine-3ef7f5855edc1193755097a4ef981ff67ea4ae56.zip
Renamed #_issues_path to #_project_issues_path.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11076 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/queries_controller.rb')
-rw-r--r--app/controllers/queries_controller.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/queries_controller.rb b/app/controllers/queries_controller.rb
index 4c1203f78..2993b8e86 100644
--- a/app/controllers/queries_controller.rb
+++ b/app/controllers/queries_controller.rb
@@ -59,7 +59,7 @@ class QueriesController < ApplicationController
if @query.save
flash[:notice] = l(:notice_successful_create)
- redirect_to _issues_path(@project, :query_id => @query)
+ redirect_to _project_issues_path(@project, :query_id => @query)
else
render :action => 'new', :layout => !request.xhr?
end
@@ -77,7 +77,7 @@ class QueriesController < ApplicationController
if @query.save
flash[:notice] = l(:notice_successful_update)
- redirect_to _issues_path(@project, :query_id => @query)
+ redirect_to _project_issues_path(@project, :query_id => @query)
else
render :action => 'edit'
end
@@ -85,7 +85,7 @@ class QueriesController < ApplicationController
def destroy
@query.destroy
- redirect_to _issues_path(@project, :set_filter => 1)
+ redirect_to _project_issues_path(@project, :set_filter => 1)
end
private