Sha256: 2f60503edc8dde0dad8b6690486dfdca192e6407011126416bb38bb0851d9c04

Contents?: true

Size: 944 Bytes

Versions: 13

Compression:

Stored size: 944 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Conferences
    module Admin
      # Controller that allows managing conference publications.
      #
      # i18n-tasks-use t('decidim.admin.conference_publications.create.error')
      # i18n-tasks-use t('decidim.admin.conference_publications.create.success')
      # i18n-tasks-use t('decidim.admin.conference_publications.destroy.error')
      # i18n-tasks-use t('decidim.admin.conference_publications.destroy.success')
      class ConferencePublicationsController < Decidim::Admin::SpacePublicationsController
        include Concerns::ConferenceAdmin

        private

        def enforce_permission_to_publish = enforce_permission_to(:publish, :conference, conference: current_conference)

        def publish_command = PublishConference

        def i18n_scope = "decidim.admin.conference_publications"

        def fallback_location = conferences_path
      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_publications_controller.rb
decidim-conferences-0.28.4 app/controllers/decidim/conferences/admin/conference_publications_controller.rb
decidim-conferences-0.29.0 app/controllers/decidim/conferences/admin/conference_publications_controller.rb
decidim-conferences-0.28.3 app/controllers/decidim/conferences/admin/conference_publications_controller.rb
decidim-conferences-0.29.0.rc4 app/controllers/decidim/conferences/admin/conference_publications_controller.rb
decidim-conferences-0.29.0.rc3 app/controllers/decidim/conferences/admin/conference_publications_controller.rb
decidim-conferences-0.29.0.rc2 app/controllers/decidim/conferences/admin/conference_publications_controller.rb
decidim-conferences-0.29.0.rc1 app/controllers/decidim/conferences/admin/conference_publications_controller.rb
decidim-conferences-0.28.2 app/controllers/decidim/conferences/admin/conference_publications_controller.rb
decidim-conferences-0.28.1 app/controllers/decidim/conferences/admin/conference_publications_controller.rb
decidim-conferences-0.28.0 app/controllers/decidim/conferences/admin/conference_publications_controller.rb
decidim-conferences-0.28.0.rc5 app/controllers/decidim/conferences/admin/conference_publications_controller.rb
decidim-conferences-0.28.0.rc4 app/controllers/decidim/conferences/admin/conference_publications_controller.rb