Class: Decidim::Consultations::QuestionsController
- Inherits:
-
ApplicationController
- Object
- DecidimController
- ApplicationController
- ApplicationController
- Decidim::Consultations::QuestionsController
- Includes:
- NeedsQuestion
- Defined in:
- decidim-consultations/app/controllers/decidim/consultations/questions_controller.rb
Overview
A controller that holds the logic to show questions in a public layout.
Constant Summary
Constants included from RedesignLayout
RedesignLayout::FALLBACK_LAYOUT
Instance Method Summary collapse
Methods included from NeedsQuestion
enhance_controller, extended, included
Methods included from UserBlockedChecker
#check_user_block_status, #check_user_not_blocked
Methods included from NeedsSnippets
Methods included from HttpCachingDisabler
Methods included from HasStoredPath
#skip_store_location?, #store_current_location
Methods included from NeedsOrganization
enhance_controller, extended, included
Instance Method Details
#show ⇒ Object
19 20 21 |
# File 'decidim-consultations/app/controllers/decidim/consultations/questions_controller.rb', line 19 def show :read, :question, question: current_question end |