Module: Decidim::UserProfile
- Extended by:
- ActiveSupport::Concern
- Includes:
- FormFactory
- Included in:
- AccountController, AuthorizationsController, NotificationsSettingsController, OwnUserGroupsController
- Defined in:
- app/controllers/concerns/decidim/user_profile.rb
Overview
The UserProfile concern must be included in all the controllers that are shown in the user’s profile settings. It adds the proper layout, as well as helper methods that help render the side menu, amongst others.
Instance Method Summary collapse
-
#available_authorization_handlers ⇒ Object
Public: Available authorization handlers in order to conditionally show the menu element.
Instance Method Details
#available_authorization_handlers ⇒ Object
Public: Available authorization handlers in order to conditionally show the menu element.
29 30 31 |
# File 'app/controllers/concerns/decidim/user_profile.rb', line 29 def current_organization..map(&:constantize) end |