summaryrefslogtreecommitdiffstats
path: root/app/controllers/issues_controller.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-01 16:30:27 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-01 16:30:27 +0000
commitbf603b0eb1d96fa391f8546ed9435dd97d20ff98 (patch)
tree46e492ae4631c8c8b98bd96fafcb601dd2fed8dc /app/controllers/issues_controller.rb
parentc25e7b59a0ddc6cb2ceeba8fe44102cc0e2e8619 (diff)
downloadredmine-bf603b0eb1d96fa391f8546ed9435dd97d20ff98.tar.gz
redmine-bf603b0eb1d96fa391f8546ed9435dd97d20ff98.zip
remove hard-coded '.rhtml' from IssuesController 'index' (#6317).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7022 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/issues_controller.rb')
-rw-r--r--app/controllers/issues_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb
index e47146f0a..f154ef1c8 100644
--- a/app/controllers/issues_controller.rb
+++ b/app/controllers/issues_controller.rb
@@ -89,7 +89,7 @@ class IssuesController < ApplicationController
@issue_count_by_group = @query.issue_count_by_group
respond_to do |format|
- format.html { render :template => 'issues/index.rhtml', :layout => !request.xhr? }
+ format.html { render :template => 'issues/index', :layout => !request.xhr? }
format.api {
Issue.load_relations(@issues) if include_in_api_response?('relations')
}
@@ -99,7 +99,7 @@ class IssuesController < ApplicationController
end
else
respond_to do |format|
- format.any(:html, :atom, :csv, :pdf) { render(:template => 'issues/index.rhtml', :layout => !request.xhr?) }
+ format.any(:html, :atom, :csv, :pdf) { render(:template => 'issues/index', :layout => !request.xhr?) }
format.api { render_validation_errors(@query) }
end
end