forked from saurabh/orbit4-5
fixed assets for ckeditor
This commit is contained in:
parent
a89e06087a
commit
36f7e19011
|
@ -61,12 +61,13 @@ module OrbitCoreLib
|
|||
redirect_to new_session_path
|
||||
return
|
||||
end
|
||||
|
||||
if !@module_app.nil?
|
||||
check_user_can_use
|
||||
else
|
||||
if current_user.nil? || !current_user.is_admin?
|
||||
render "public/401"
|
||||
if params["controller"] != "admin/assets"
|
||||
render "public/401"
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue