Class: Decidim::Meetings::VersionsController
- Inherits:
-
ApplicationController
- Object
- Components::BaseController
- ApplicationController
- Decidim::Meetings::VersionsController
- Includes:
- ResourceVersionsConcern
- Defined in:
- app/controllers/decidim/meetings/versions_controller.rb
Overview
Exposes the meeting resource so users can view them
Instance Method Summary collapse
Instance Method Details
#versioned_resource ⇒ Object
9 10 11 |
# File 'app/controllers/decidim/meetings/versions_controller.rb', line 9 def versioned_resource @versioned_resource ||= Meeting.not_hidden.where(component: current_component).find(params[:meeting_id]) end |