git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7024 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
bf233552df
commit
3504fd038c
|
@ -99,7 +99,8 @@ class IssuesController < ApplicationController
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
format.any(:html, :atom, :csv, :pdf) { render(:template => 'issues/index', :layout => !request.xhr?) }
|
format.html { render(:template => 'issues/index', :layout => !request.xhr?) }
|
||||||
|
format.any(:atom, :csv, :pdf) { render(:nothing => true) }
|
||||||
format.api { render_validation_errors(@query) }
|
format.api { render_validation_errors(@query) }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue