annotate test/fixtures/files/060719210727_changeset.diff @ 378:c80fd1ef305f
feature_121
Ensure Recent Activity shows only activity on projects the user is actually a member of, if invoked from My Page (rather than on all permitted projects)
author |
Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
date |
Mon, 04 Apr 2011 10:28:08 +0100 |
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
|