Class: Decidim::DummyResources::DummyResourcesController

Inherits:
Components::BaseController
  • Object
show all
Includes:
TranslatableAttributes
Defined in:
app/controllers/decidim/dummy_resources/dummy_resources_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject



9
10
11
# File 'app/controllers/decidim/dummy_resources/dummy_resources_controller.rb', line 9

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