Adding route for groups/signup

Conflicts:
	config/routes.rb
This commit is contained in:
Rob Harrington
2015-05-04 22:09:35 +10:00
parent 0510fa27e6
commit 9ebbdd8dc7

View File

@@ -16,7 +16,6 @@ Openfoodnetwork::Application.routes.draw do
get :order_cycle
end
resources :groups
resources :producers, only: [:index] do
collection do
get :signup
@@ -29,6 +28,12 @@ Openfoodnetwork::Application.routes.draw do
end
end
resources :groups, only: [:index, :show] do
collection do
get :signup
end
end
get '/checkout', :to => 'checkout#edit' , :as => :checkout
put '/checkout', :to => 'checkout#update' , :as => :update_checkout
get '/checkout/paypal_payment/:order_id', to: 'checkout#paypal_payment', as: :paypal_payment