no change

This commit is contained in:
Yan
2018-05-03 17:53:34 +06:30
parent 02fe2e57cc
commit b0377afb8f
2 changed files with 5 additions and 8 deletions

View File

@@ -15,7 +15,7 @@ class BaseOrigamiController < ActionController::Base
redirect_to origami_dashboard_path
end
def check_user
def check_user
if check_mobile
if current_user.nil?
return render status: 401, json: {