foodsoft/plugins/polls/config/routes.rb
Patrick Gansterer d476993321 Add polls plugin
2020-02-24 14:27:22 +01:00

14 lines
166 B
Ruby

Rails.application.routes.draw do
scope '/:foodcoop' do
resources :polls do
member do
get :vote
post :vote
end
end
end
end