diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-06 16:53:12 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-06 16:53:12 +0000 |
commit | 2e240103f381ed32cbbf296beddab9536dde050c (patch) | |
tree | 30faff7f08da680ff9579ac571ea36e3cea886be /app/controllers/attachments_controller.rb | |
parent | 18270ee5879b387a23f659339555269319eb861f (diff) | |
download | redmine-2e240103f381ed32cbbf296beddab9536dde050c.tar.gz redmine-2e240103f381ed32cbbf296beddab9536dde050c.zip |
Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9364 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/attachments_controller.rb')
-rw-r--r-- | app/controllers/attachments_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/attachments_controller.rb b/app/controllers/attachments_controller.rb index 425bfab94..3406a4d3a 100644 --- a/app/controllers/attachments_controller.rb +++ b/app/controllers/attachments_controller.rb @@ -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 |