fix member has no module_app
This commit is contained in:
		
							parent
							
								
									abbecfbe2f
								
							
						
					
					
						commit
						137beabde9
					
				| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue