fix member has no module_app
This commit is contained in:
parent
b71ebb3982
commit
7594e1b9a6
|
@ -8,6 +8,12 @@ class Admin::UsersNewInterfaceController < OrbitBackendController
|
||||||
before_filter :force_order_for_user,:except => [:index,:show]
|
before_filter :force_order_for_user,:except => [:index,:show]
|
||||||
before_filter :set_attribute,:except => [:index,:show]
|
before_filter :set_attribute,:except => [:index,:show]
|
||||||
|
|
||||||
|
def setup_vars
|
||||||
|
# @app_title ||= controller_path.split('/')[1].singularize
|
||||||
|
# @module_app ||= ModuleApp.first(conditions: {:key => @app_title} )
|
||||||
|
# raise ModuleAppError, 'Can not find ModuleApp' if @module_app.nil?
|
||||||
|
end
|
||||||
|
|
||||||
def index
|
def index
|
||||||
get_tags
|
get_tags
|
||||||
get_sub_roles
|
get_sub_roles
|
||||||
|
|
Reference in New Issue