summaryrefslogtreecommitdiffstats
path: root/app/controllers/queries_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-11-05 18:38:42 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-11-05 18:38:42 +0000
commit8509cf80f009436e900294acc821295f21e3b142 (patch)
tree37095d100c500b27cb2249dc3b7ece1198434637 /app/controllers/queries_controller.rb
parent26a1ae4808368128f2cc8b348528506f358dab15 (diff)
downloadredmine-8509cf80f009436e900294acc821295f21e3b142.tar.gz
redmine-8509cf80f009436e900294acc821295f21e3b142.zip
ProjectsController#list_issues, #export_issues_csv and #export_issues_pdf merged into IssuesController#index
git-svn-id: http://redmine.rubyforge.org/svn/trunk@887 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/queries_controller.rb')
-rw-r--r--app/controllers/queries_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/queries_controller.rb b/app/controllers/queries_controller.rb
index 72819bd68..7feafd35b 100644
--- a/app/controllers/queries_controller.rb
+++ b/app/controllers/queries_controller.rb
@@ -39,7 +39,7 @@ class QueriesController < ApplicationController
if request.post? && params[:confirm] && @query.save
flash[:notice] = l(:notice_successful_create)
- redirect_to :controller => 'projects', :action => 'list_issues', :id => @project, :query_id => @query
+ redirect_to :controller => 'issues', :action => 'index', :project_id => @project, :query_id => @query
return
end
render :layout => false if request.xhr?
@@ -57,7 +57,7 @@ class QueriesController < ApplicationController
if @query.save
flash[:notice] = l(:notice_successful_update)
- redirect_to :controller => 'projects', :action => 'list_issues', :id => @project, :query_id => @query
+ redirect_to :controller => 'issues', :action => 'index', :project_id => @project, :query_id => @query
end
end
end