Class: Decidim::Accountability::ResultsController
- Inherits:
-
ApplicationController
- Object
- DecidimController
- Decidim::ApplicationController
- Components::BaseController
- ApplicationController
- Decidim::Accountability::ResultsController
- Includes:
- FilterResource
- Defined in:
- decidim-accountability/app/controllers/decidim/accountability/results_controller.rb
Overview
Exposes the result resource so users can view them
Instance Method Summary collapse
Methods inherited from Components::BaseController
#current_component, #current_manifest, #current_participatory_space, #permission_class_chain, #permission_scope, #redirect_unless_feature_private, #set_component_breadcrumb_item
Methods included from RegistersPermissions
Methods inherited from Decidim::ApplicationController
Methods included from UserBlockedChecker
#check_user_block_status, #check_user_not_blocked
Methods included from NeedsSnippets
Methods included from Headers::HttpCachingDisabler
Methods included from HasStoredPath
#skip_store_location?, #store_current_location
Methods included from TranslatableAttributes
#attachment?, #default_locale?
Methods included from NeedsOrganization
enhance_controller, extended, included
Instance Method Details
#home ⇒ Object
19 20 21 |
# File 'decidim-accountability/app/controllers/decidim/accountability/results_controller.rb', line 19 def home @all_geocoded_results = results.geocoded end |
#show ⇒ Object
15 16 17 |
# File 'decidim-accountability/app/controllers/decidim/accountability/results_controller.rb', line 15 def show raise ActionController::RoutingError, "Not Found" unless result end |