Sha256: c4101ab4ae71b418b03f0cafcea5e874eb01311ae982c4a93181cee99550d65c

Contents?: true

Size: 335 Bytes

Versions: 2

Compression:

Stored size: 335 Bytes

Contents

# frozen_string_literal: true

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

      skip_authorization_check

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
decidim-dev-0.10.1 app/controllers/decidim/dummy_resources/dummy_resources_controller.rb
decidim-dev-0.10.0 app/controllers/decidim/dummy_resources/dummy_resources_controller.rb