diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-07-19 20:06:01 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-07-19 20:06:01 +0000 |
commit | bb5ccb870ce312cada7d8c95f1cba655cd9468ac (patch) | |
tree | 088f27f2fbce9bf65e6566f0d449eb14d3237c9b /app/controllers | |
parent | 34828e18161c9886f87ec17696b55f51983fac9b (diff) | |
download | redmine-bb5ccb870ce312cada7d8c95f1cba655cd9468ac.tar.gz redmine-bb5ccb870ce312cada7d8c95f1cba655cd9468ac.zip |
Removes calls to #assert_template and #assigns in functional tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@15715 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/reports_controller.rb | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/app/controllers/reports_controller.rb b/app/controllers/reports_controller.rb index ef1bdc936..3198da6d7 100644 --- a/app/controllers/reports_controller.rb +++ b/app/controllers/reports_controller.rb @@ -76,14 +76,8 @@ class ReportsController < ApplicationController @rows = @project.descendants.visible @data = Issue.by_subproject(@project) || [] @report_title = l(:field_subproject) - end - - respond_to do |format| - if @field - format.html {} - else - format.html { redirect_to :action => 'issue_report', :id => @project } - end + else + render_404 end end |