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:
parent
c25e7b59a0
commit
bf603b0eb1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue