Module: Decidim::NeedsOrganization::InstanceMethods

Defined in:
decidim-core/app/controllers/concerns/decidim/needs_organization.rb

Instance Method Summary collapse

Instance Method Details

#current_organizationObject

The current organization for the request.

Returns an Organization.



31
32
33
# File 'decidim-core/app/controllers/concerns/decidim/needs_organization.rb', line 31

def current_organization
  @current_organization ||= request.env["decidim.current_organization"]
end