Class: RailsVoter::VotingResultsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- RailsVoter::VotingResultsController
- Defined in:
- app/controllers/rails_voter/voting_results_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
7 8 9 10 |
# File 'app/controllers/rails_voter/voting_results_controller.rb', line 7 def create voting_result.save render layout: false end |