annotate test/fixtures/files/060719210727_changeset.diff @ 69:dc22c3eb3c81 luisf

Feature #35: - Does not show the label "My Projects" if the user does not have any projects. - If the user is not signed in only shows the default Projects list.
author luisf
date Mon, 06 Dec 2010 18:12:52 +0000
parents 513646585e45
children
rev   line source
Chris@0 1 Index: trunk/app/controllers/issues_controller.rb
Chris@0 2 ===================================================================
Chris@0 3 --- trunk/app/controllers/issues_controller.rb (r‚vision 1483)
Chris@0 4 +++ trunk/app/controllers/issues_controller.rb (r‚vision 1484)
Chris@0 5 @@ -149,7 +149,7 @@
Chris@0 6 attach_files(@issue, params[:attachments])
Chris@0 7 flash[:notice] = l(:notice_successful_create)
Chris@0 8 Mailer.deliver_issue_add(@issue) if Setting.notified_events.include?('issue_added')
Chris@0 9 - redirect_to :controller => 'issues', :action => 'show', :id => @issue, :project_id => @project
Chris@0 10 + redirect_to :controller => 'issues', :action => 'show', :id => @issue
Chris@0 11 return
Chris@0 12 end
Chris@0 13 end