Class: Decidim::System::OAuthApplicationForm

Inherits:
Form
  • Object
show all
Includes:
HasUploadValidations
Defined in:
app/forms/decidim/system/oauth_application_form.rb

Overview

The form that validates the data to construct a valid OAuthApplication.

Instance Method Summary collapse

Instance Method Details

#organizationObject



24
25
26
# File 'app/forms/decidim/system/oauth_application_form.rb', line 24

def organization
  current_organization || Decidim::Organization.find_by(id: decidim_organization_id)
end