annotate test/fixtures/files/.svn/text-base/060719210727_changeset_iso8859-1.diff.svn-base @ 490:cd64fb9ab701 feature_199

Add "Edit this page" link to welcome page if the current user is authorised to do so
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Tue, 12 Jul 2011 11:51:42 +0100
parents 8972b600f4fb
children
rev   line source
Chris@244 1 Index: trunk/app/controllers/issues_controller.rb
Chris@244 2 ===================================================================
Chris@244 3 --- trunk/app/controllers/issues_controller.rb (révision 1483)
Chris@244 4 +++ trunk/app/controllers/issues_controller.rb (révision 1484)
Chris@244 5 @@ -149,7 +149,7 @@
Chris@244 6 attach_files(@issue, params[:attachments])
Chris@244 7 flash[:notice] = 'Demande créée avec succès'
Chris@244 8 Mailer.deliver_issue_add(@issue) if Setting.notified_events.include?('issue_added')
Chris@244 9 - redirect_to :controller => 'issues', :action => 'show', :id => @issue, :project_id => @project
Chris@244 10 + redirect_to :controller => 'issues', :action => 'show', :id => @issue
Chris@244 11 return
Chris@244 12 end
Chris@244 13 end