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
This commit is contained in:
Toshi MARUYAMA 2011-09-01 16:30:27 +00:00
parent c25e7b59a0
commit bf603b0eb1
1 changed files with 2 additions and 2 deletions

View File

@ -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