Class: Decidim::Consultations::QuestionWidgetsController
- Inherits:
-
WidgetsController
- Object
- WidgetsController
- Decidim::Consultations::QuestionWidgetsController
- Includes:
- NeedsQuestion
- Defined in:
- app/controllers/decidim/consultations/question_widgets_controller.rb
Overview
This controller provides a widget that allows embedding the question
Instance Method Summary collapse
Methods included from NeedsQuestion
enhance_controller, extended, included
Instance Method Details
#show ⇒ Object
11 12 13 14 15 |
# File 'app/controllers/decidim/consultations/question_widgets_controller.rb', line 11 def show :embed, :question, question: model if model super end |