Module: Decidim::NeedsOrganization::InstanceMethods
- Defined in:
 - app/controllers/concerns/decidim/needs_organization.rb
 
Instance Method Summary collapse
- 
  
    
      #current_organization  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
The current organization for the request.
 
Instance Method Details
#current_organization ⇒ Object
The current organization for the request.
Returns an Organization.
      31 32 33  | 
    
      # File 'app/controllers/concerns/decidim/needs_organization.rb', line 31 def current_organization @current_organization ||= request.env["decidim.current_organization"] end  |