diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-01 16:31:07 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-01 16:31:07 +0000 |
commit | bf233552df8d64a833bc8463b64e1b2f793fd3c4 (patch) | |
tree | e9ea89e269fdf64704d65669528b659c839d7f87 /app/controllers/issues_controller.rb | |
parent | bf603b0eb1d96fa391f8546ed9435dd97d20ff98 (diff) | |
download | redmine-bf233552df8d64a833bc8463b64e1b2f793fd3c4.tar.gz redmine-bf233552df8d64a833bc8463b64e1b2f793fd3c4.zip |
remove hard-coded '.rhtml' from IssuesController 'show' (#6317).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7023 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/issues_controller.rb')
-rw-r--r-- | app/controllers/issues_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb index f154ef1c8..b0d2dfac5 100644 --- a/app/controllers/issues_controller.rb +++ b/app/controllers/issues_controller.rb @@ -123,7 +123,7 @@ class IssuesController < ApplicationController @priorities = IssuePriority.active @time_entry = TimeEntry.new(:issue => @issue, :project => @issue.project) respond_to do |format| - format.html { render :template => 'issues/show.rhtml' } + format.html { render :template => 'issues/show' } format.api format.atom { render :template => 'journals/index', :layout => false, :content_type => 'application/atom+xml' } format.pdf { send_data(issue_to_pdf(@issue), :type => 'application/pdf', :filename => "#{@project.identifier}-#{@issue.id}.pdf") } |