|
|
@ -514,7 +514,7 @@ private
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
def has_login
|
|
|
|
def has_login
|
|
|
|
unless @attachment.container_type == "PhoneAppVersion"
|
|
|
|
unless @attachment && @attachment.container_type == "PhoneAppVersion"
|
|
|
|
render_403 unless User.current.logged?
|
|
|
|
render_403 unless User.current.logged?
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|