Class: Decidim::DummyResources::DummyResourcesController

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

Instance Method Summary collapse

Methods included from TranslatableAttributes

#default_locale?

Methods inherited from Components::BaseController

#current_component, #current_manifest, #current_participatory_space, #permission_class_chain, #permission_scope, #redirect_unless_feature_private, #set_component_breadcrumb_item, #share_token

Methods included from RegistersPermissions

register_permissions

Methods included from UserBlockedChecker

#check_user_block_status, #check_user_not_blocked

Methods included from NeedsSnippets

#snippets

Methods included from Headers::HttpCachingDisabler

#disable_http_caching

Methods included from HasStoredPath

#skip_store_location?, #store_current_location

Methods included from NeedsOrganization

enhance_controller, extended, included

Instance Method Details

#showObject



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

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