Class: Decidim::ApplicationController
- Inherits:
-
DecidimController
- Object
- DecidimController
- Decidim::ApplicationController
- Includes:
- ActiveStorage::SetCurrent, Browser::ActionController, ActionAuthorization, DisableRedirectionToExternalHost, EphemeralSessionChecker, ForceAuthentication, HasStoredPath, Headers::BrowserFeaturePermissions, Headers::ContentSecurityPolicy, Headers::HttpCachingDisabler, ImpersonateUsers, LinkedResourceReference, LocaleSwitcher, NeedsOrganization, NeedsPasswordChange, NeedsPermission, NeedsRtlDirection, NeedsSnippets, NeedsTosAccepted, OnboardingActionMethods, PayloadInfo, SafeRedirect, UseOrganizationTimeZone, UserBlockedChecker
- Defined in:
- decidim-core/app/controllers/decidim/application_controller.rb
Overview
The main application controller that inherits from Rails.
Direct Known Subclasses
AccountController, AmendmentsController, Decidim::Assemblies::ApplicationController, AuthorizationModalsController, Comments::ApplicationController, Components::BaseController, Conferences::ApplicationController, Demographics::ApplicationController, Doorkeeper::CredentialsController, DownloadYourDataController, EditorImagesController, Elections::ElectionsController, ErrorsController, FollowsController, FreeResourceAuthorizationModalsController, Gamification::BadgesController, GeolocationController, HomepageController, Initiatives::ApplicationController, LastActivitiesController, LinksController, LocalesController, ManifestsController, Meetings::Directory::ApplicationController, Messaging::ConversationsController, NewslettersController, NewslettersOptInController, NotificationsController, NotificationsSettingsController, NotificationsSubscriptionsController, OfflineController, OpenDataController, PagesController, ParticipatoryProcesses::ApplicationController, ProfilesController, QrController, ReportUsersController, ReportsController, ResourceAutocompleteController, SearchesController, ShortLinksController, StaticMapController, TimeoutsController, TosController, UploadValidationsController, UserActivitiesController, Verifications::ApplicationController, Verifications::CsvCensus::AuthorizationsController
Instance Method Summary collapse
Methods included from UserBlockedChecker
#check_user_block_status, #check_user_not_blocked
Methods included from NeedsSnippets
Methods included from Headers::HttpCachingDisabler
Methods included from HasStoredPath
#skip_store_location?, #store_current_location
Methods included from TranslatableAttributes
#attachment?, #default_locale?
Methods included from RegistersPermissions
Methods included from NeedsOrganization
enhance_controller, extended, included
Instance Method Details
#store_share_token ⇒ Object
62 63 64 65 66 |
# File 'decidim-core/app/controllers/decidim/application_controller.rb', line 62 def store_share_token session[:share_token] = params[:share_token] if params.has_key?(:share_token) session[:share_token].presence end |