Sha256: 2d6ca5d3fc287e059472ee8baca5e6a6bc9482588aa368c1e54885c09ee0b96d

Contents?: true

Size: 337 Bytes

Versions: 3

Compression:

Stored size: 337 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module DummyResources
    class DummyResourcesController < Decidim::Components::BaseController
      helper Decidim::Comments::CommentsHelper

      skip_authorization_check

      def show
        @commentable = DummyResources::DummyResource.find(params[:id])
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-dev-0.11.2 app/controllers/decidim/dummy_resources/dummy_resources_controller.rb
decidim-dev-0.11.1 app/controllers/decidim/dummy_resources/dummy_resources_controller.rb
decidim-dev-0.11.0.pre1 app/controllers/decidim/dummy_resources/dummy_resources_controller.rb