foodsoft/plugins/polls/config/routes.rb

11 lines
162 B
Ruby
Raw Permalink Normal View History

2017-11-05 22:16:32 +01:00
Rails.application.routes.draw do
scope '/:foodcoop' do
resources :polls do
member do
get :vote
post :vote
end
end
end
end