Module: Decidim::NeedsOrganization::InstanceMethods

Defined in:
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 'app/controllers/concerns/decidim/needs_organization.rb', line 31

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