Class: Decidim::Accountability::ResultsController
- Inherits:
-
ApplicationController
- Object
- Components::BaseController
- ApplicationController
- Decidim::Accountability::ResultsController
- Includes:
- FilterResource
- Defined in:
- app/controllers/decidim/accountability/results_controller.rb
Overview
Exposes the result resource so users can view them
Instance Method Summary collapse
Instance Method Details
#home ⇒ Object
19 20 21 |
# File 'app/controllers/decidim/accountability/results_controller.rb', line 19 def home @all_geocoded_results = results.geocoded end |
#show ⇒ Object
15 16 17 |
# File 'app/controllers/decidim/accountability/results_controller.rb', line 15 def show raise ActionController::RoutingError, "Not Found" unless result end |