Sha256: f49106103dc33b132b17d9e834f938bb038ee11f6e0fa022bca2970cd11fd2b4
Contents?: true
Size: 804 Bytes
Versions: 13
Compression:
Stored size: 804 Bytes
Contents
# frozen_string_literal: true module Decidim module Conferences module Admin # Controller that allows managing all the attachments for a participatory # conference. # class ConferenceAttachmentsController < Decidim::Conferences::Admin::ApplicationController include Concerns::ConferenceAdmin include Decidim::Admin::Concerns::HasAttachments include Decidim::Admin::Concerns::HasTabbedMenu def after_destroy_path conference_attachments_path(current_conference) end def attached_to current_conference end def authorization_object @attachment || Attachment end private def tab_menu_name = :conferences_admin_attachments_menu end end end end
Version data entries
13 entries across 13 versions & 1 rubygems