config/routes.rb in rails_voter-0.1.0 vs config/routes.rb in rails_voter-0.2.0

- old
+ new

@@ -1,8 +1,8 @@ RailsVoter::Engine.routes.draw do resources :elections do - get "vote", on: :member - get "show_result", on: :member + get :vote, on: :member + get :show_result, on: :member end resources :voting_results, only: [:create] root to: "elections#index"