认证用普通模式返回

api
guange 11 years ago
parent ee988b6ec5
commit efa08adf4e

@ -12,7 +12,7 @@ module Mobile
end
def authenticate!
error!('Unauthorized. Invalid or expired token.', 401) unless current_user
raise 'Unauthorized. Invalid or expired token.' unless current_user
end
def current_user

Loading…
Cancel
Save