Sha256: 4ed0ff2c5bc42a4d9d241d39aedfb74f9b7bc87cf7cc52224a366c43f94ee91c

Contents?: true

Size: 598 Bytes

Versions: 3

Compression:

Stored size: 598 Bytes

Contents

# frozen_string_literal: true

require_dependency "decidim/application_controller"

module Decidim
  # A controller that holds the logic to show ParticipatoryProcessSteps in a
  # public layout.
  class ParticipatoryProcessStepsController < ApplicationController
    helper_method :participatory_process, :current_participatory_process
    layout "layouts/decidim/participatory_process", only: [:index]
    include NeedsParticipatoryProcess

    helper Decidim::ParticipatoryProcessHelper
    helper Decidim::IconHelper

    def index
      authorize! :read, ParticipatoryProcess
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-core-0.4.2 app/controllers/decidim/participatory_process_steps_controller.rb
decidim-core-0.4.1 app/controllers/decidim/participatory_process_steps_controller.rb
decidim-core-0.4.0 app/controllers/decidim/participatory_process_steps_controller.rb