Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9364 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
18270ee587
commit
2e240103f3
|
@ -88,7 +88,7 @@ class AttachmentsController < ApplicationController
|
|||
end
|
||||
# Make sure association callbacks are called
|
||||
@attachment.container.attachments.delete(@attachment)
|
||||
redirect_back_or_default project_path(@project)
|
||||
redirect_to_referer_or project_path(@project)
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Reference in New Issue