Sha256: 834ac3fc76d27012f1f6f835198c0d6b4436f9da2625ef48a157e43a6641797e

Contents?: true

Size: 518 Bytes

Versions: 3

Compression:

Stored size: 518 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

    def index
      authorize! :read, ParticipatoryProcess
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-core-0.0.5 app/controllers/decidim/participatory_process_steps_controller.rb
decidim-core-0.0.3 app/controllers/decidim/participatory_process_steps_controller.rb
decidim-core-0.0.2 app/controllers/decidim/participatory_process_steps_controller.rb