Mercurial > hg > soundsoftware-site
view test/fixtures/files/060719210727_changeset.diff @ 374:dcfde3922ec2 feature_126
Turn general News box on site front page into a Site News box (#126)
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Fri, 01 Apr 2011 16:11:30 +0100 |
parents | 513646585e45 |
children |
line wrap: on
line source
Index: trunk/app/controllers/issues_controller.rb =================================================================== --- trunk/app/controllers/issues_controller.rb (r‚vision 1483) +++ trunk/app/controllers/issues_controller.rb (r‚vision 1484) @@ -149,7 +149,7 @@ attach_files(@issue, params[:attachments]) flash[:notice] = l(:notice_successful_create) Mailer.deliver_issue_add(@issue) if Setting.notified_events.include?('issue_added') - redirect_to :controller => 'issues', :action => 'show', :id => @issue, :project_id => @project + redirect_to :controller => 'issues', :action => 'show', :id => @issue return end end