贴吧资源下载开放,判断贴吧资源修改为根据资源的container_type是否为‘Memo’判断

This commit is contained in:
z9hang 2014-09-17 15:58:57 +08:00
parent 02470491bd
commit ee00d7d20a
1 changed files with 1 additions and 1 deletions

View File

@ -361,7 +361,7 @@ private
def login_without_softapplication
referer = request.headers['Referer']
require_login unless referer =~ /softapplication/ || referer =~ /memos/
require_login unless referer =~ /softapplication/ || @attachment.container_type == "Memo"
end
def renderTag