Sha256: f3a30c44a11fcd40483d62bf6d0162c72553adf265e48532aec76e77a712fbf7

Contents?: true

Size: 786 Bytes

Versions: 13

Compression:

Stored size: 786 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Conferences
    module Admin
      # Controller that allows managing conference user roles.
      #
      class ConferenceUserRolesController < Decidim::Admin::ParticipatorySpace::UserRoleController
        include Concerns::ConferenceAdmin

        def authorization_scope = :conference_user_role

        def resource_form = form(ConferenceUserRoleForm)

        def space_index_path = conference_user_roles_path(current_participatory_space)

        def i18n_scope = "decidim.admin.conference_user_roles"

        def role_class = Decidim::ConferenceUserRole

        def event = "decidim.events.conferences.role_assigned"

        def event_class = Decidim::Conferences::ConferenceRoleAssignedEvent
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
decidim-conferences-0.29.1 app/controllers/decidim/conferences/admin/conference_user_roles_controller.rb
decidim-conferences-0.28.4 app/controllers/decidim/conferences/admin/conference_user_roles_controller.rb
decidim-conferences-0.29.0 app/controllers/decidim/conferences/admin/conference_user_roles_controller.rb
decidim-conferences-0.28.3 app/controllers/decidim/conferences/admin/conference_user_roles_controller.rb
decidim-conferences-0.29.0.rc4 app/controllers/decidim/conferences/admin/conference_user_roles_controller.rb
decidim-conferences-0.29.0.rc3 app/controllers/decidim/conferences/admin/conference_user_roles_controller.rb
decidim-conferences-0.29.0.rc2 app/controllers/decidim/conferences/admin/conference_user_roles_controller.rb
decidim-conferences-0.29.0.rc1 app/controllers/decidim/conferences/admin/conference_user_roles_controller.rb
decidim-conferences-0.28.2 app/controllers/decidim/conferences/admin/conference_user_roles_controller.rb
decidim-conferences-0.28.1 app/controllers/decidim/conferences/admin/conference_user_roles_controller.rb
decidim-conferences-0.28.0 app/controllers/decidim/conferences/admin/conference_user_roles_controller.rb
decidim-conferences-0.28.0.rc5 app/controllers/decidim/conferences/admin/conference_user_roles_controller.rb
decidim-conferences-0.28.0.rc4 app/controllers/decidim/conferences/admin/conference_user_roles_controller.rb