Sha256: 28c7152febf58bd50c7b19606eb99ac53f757fe10654af169eeb126efbe36eda
Contents?: true
Size: 576 Bytes
Versions: 3
Compression:
Stored size: 576 Bytes
Contents
# frozen_string_literal: true module Decidim module Consultations # A controller that holds the logic to show questions in a # public layout. class QuestionsController < Decidim::ApplicationController layout "layouts/decidim/question" include NeedsQuestion helper Decidim::SanitizeHelper helper Decidim::IconHelper helper Decidim::Comments::CommentsHelper helper Decidim::AttachmentsHelper helper Decidim::ResourceReferenceHelper def show authorize! :read, current_question end end end end
Version data entries
3 entries across 3 versions & 1 rubygems