view .svn/pristine/9d/9d033118025939ee80f1bb007d00e14b1310da13.svn-base @ 1539:22d57b0e0a77 live

OK, this script works now, but it should be using the API
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 21 May 2015 17:31:06 +0100
parents cbb26bc654de
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