fix member has no module_app

This commit is contained in:
Fu Matthew 2013-01-07 14:04:14 +08:00
parent abbecfbe2f
commit 137beabde9
1 changed files with 6 additions and 0 deletions

View File

@ -8,6 +8,12 @@ class Admin::UsersNewInterfaceController < OrbitBackendController
before_filter :force_order_for_user,: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
get_tags
get_sub_roles