Project

General

Profile

RE: Public access to issue attachments ยป Withdraw_attachmentscontroller_login_need.patch

TortoiseSVN_patch to withdraw login-requirement on attachements - Thomas Lecavelier, 2008-08-05 15:37

View differences:

app/controllers/application.rb (working copy)
def require_login
if !User.current.logged?
if controller_class_name == "AttachmentsController"
return true
end
redirect_to :controller => "account", :action => "login", :back_url => request.request_uri
return false
end
    (1-1/1)