Class: RailsVoter::VotingResultsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/rails_voter/voting_results_controller.rb

Instance Method Summary collapse

Instance Method Details

#createObject



7
8
9
10
# File 'app/controllers/rails_voter/voting_results_controller.rb', line 7

def create
  voting_result.save
  render layout: false
end