Sha256: fa44aa5a16fdc9ce6d8901f3b6b48b996dc0636dfaec0ca3ac0b9731803f19c1
Contents?: true
Size: 637 Bytes
Versions: 8
Compression:
Stored size: 637 Bytes
Contents
# frozen_string_literal: true module Decidim module Votings module Admin # Controller that allows managing all the attachments for a voting. class VotingAttachmentsController < Decidim::Admin::ApplicationController include VotingAdmin include Decidim::Admin::Concerns::HasAttachments include Decidim::Admin::Concerns::HasTabbedMenu def after_destroy_path voting_attachments_path(current_voting) end def attached_to current_voting end private def tab_menu_name = :votings_admin_attachments_menu end end end end
Version data entries
8 entries across 8 versions & 1 rubygems