Mercurial > hg > soundsoftware-site
view test/fixtures/files/.svn/text-base/060719210727_changeset_utf8.diff.svn-base @ 567:5404f7dfb4b3 feature_36
Move set_initial_author_order to before_save to avoid duplicate author creation;
Remove unwanted has-one relationship between user and publication
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Tue, 09 Aug 2011 14:30:22 +0100 |
parents | 8972b600f4fb |
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] = 'Demande créée avec succès' 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