Class: Decidim::Initiatives::VersionsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ApplicationController
- Decidim::Initiatives::VersionsController
- Includes:
- NeedsInitiative, ResourceVersionsConcern, ParticipatorySpaceContext
- Defined in:
- app/controllers/decidim/initiatives/versions_controller.rb
Overview
Exposes Initiatives versions so users can see how an Initiative has been updated through time.
Instance Method Summary collapse
Methods inherited from ApplicationController
#permission_class_chain, #permission_scope, #permissions_context
Instance Method Details
#versioned_resource ⇒ Object
14 15 16 |
# File 'app/controllers/decidim/initiatives/versions_controller.rb', line 14 def versioned_resource current_initiative end |