Class: Decidim::Consultations::QuestionsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ApplicationController
- Decidim::Consultations::QuestionsController
- Includes:
- NeedsQuestion
- Defined in:
- app/controllers/decidim/consultations/questions_controller.rb
Overview
A controller that holds the logic to show questions in a public layout.
Instance Method Summary collapse
Methods included from NeedsQuestion
enhance_controller, extended, included
Instance Method Details
#show ⇒ Object
19 20 21 |
# File 'app/controllers/decidim/consultations/questions_controller.rb', line 19 def show :read, :question, question: current_question end |