Class: Decidim::ParticipatoryProcesses::Admin::ParticipatoryProcessUserRolesController
- Inherits:
-
Admin::ParticipatorySpace::UserRoleController
- Object
- Admin::ParticipatorySpace::UserRoleController
- Decidim::ParticipatoryProcesses::Admin::ParticipatoryProcessUserRolesController
- Includes:
- Concerns::ParticipatoryProcessAdmin
- Defined in:
- app/controllers/decidim/participatory_processes/admin/participatory_process_user_roles_controller.rb
Overview
Controller that allows managing participatory process user roles.
Instance Method Summary collapse
- #authorization_scope ⇒ Object
- #event ⇒ Object
- #event_class ⇒ Object
- #i18n_scope ⇒ Object
- #resource_form ⇒ Object
- #role_class ⇒ Object
- #space_index_path ⇒ Object
Instance Method Details
#authorization_scope ⇒ Object
11 |
# File 'app/controllers/decidim/participatory_processes/admin/participatory_process_user_roles_controller.rb', line 11 def = :process_user_role |
#event ⇒ Object
21 |
# File 'app/controllers/decidim/participatory_processes/admin/participatory_process_user_roles_controller.rb', line 21 def event = "decidim.events.participatory_process.role_assigned" |
#event_class ⇒ Object
23 |
# File 'app/controllers/decidim/participatory_processes/admin/participatory_process_user_roles_controller.rb', line 23 def event_class = Decidim::ParticipatoryProcessRoleAssignedEvent |
#i18n_scope ⇒ Object
17 |
# File 'app/controllers/decidim/participatory_processes/admin/participatory_process_user_roles_controller.rb', line 17 def i18n_scope = "decidim.admin.participatory_process_user_roles" |
#resource_form ⇒ Object
13 |
# File 'app/controllers/decidim/participatory_processes/admin/participatory_process_user_roles_controller.rb', line 13 def resource_form = form(ParticipatoryProcessUserRoleForm) |
#role_class ⇒ Object
19 |
# File 'app/controllers/decidim/participatory_processes/admin/participatory_process_user_roles_controller.rb', line 19 def role_class = Decidim::ParticipatoryProcessUserRole |
#space_index_path ⇒ Object
15 |
# File 'app/controllers/decidim/participatory_processes/admin/participatory_process_user_roles_controller.rb', line 15 def space_index_path = participatory_process_user_roles_path(current_participatory_space) |