Sha256: d8640a02bc077ab312e74e15bab5d1c4f1ca7d2eec6d826265a320a4eeb558f7

Contents?: true

Size: 607 Bytes

Versions: 27

Compression:

Stored size: 607 Bytes

Contents

# frozen_string_literal: true

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

      helper ParticipatoryProcessHelper
      helper Decidim::IconHelper

      def index
        authorize! :read, ParticipatoryProcess
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
decidim-0.6.3 decidim-participatory_processes/app/controllers/decidim/participatory_processes/participatory_process_steps_controller.rb
decidim-participatory_processes-0.6.2 app/controllers/decidim/participatory_processes/participatory_process_steps_controller.rb
decidim-0.6.2 decidim-participatory_processes/app/controllers/decidim/participatory_processes/participatory_process_steps_controller.rb
decidim-participatory_processes-0.6.1 app/controllers/decidim/participatory_processes/participatory_process_steps_controller.rb
decidim-0.6.1 decidim-participatory_processes/app/controllers/decidim/participatory_processes/participatory_process_steps_controller.rb
decidim-participatory_processes-0.6.0 app/controllers/decidim/participatory_processes/participatory_process_steps_controller.rb
decidim-0.6.0 decidim-participatory_processes/app/controllers/decidim/participatory_processes/participatory_process_steps_controller.rb