From dff626d4cec3369d7697cd62fe8d73c06e5c3a29 Mon Sep 17 00:00:00 2001 From: Ryan Bigg Date: Mon, 21 Oct 2013 11:57:57 +1100 Subject: [PATCH] [frontend] Remove orders/destroy route --- frontend/config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/config/routes.rb b/frontend/config/routes.rb index 5d38221d55a..b0af1e7e811 100644 --- a/frontend/config/routes.rb +++ b/frontend/config/routes.rb @@ -20,7 +20,7 @@ get '/orders/populate', :to => populate_redirect get '/orders/:id/token/:token' => 'orders#show', :as => :token_order - resources :orders, :except => [:new, :create] do + resources :orders, :except => [:new, :create, :destroy] do post :populate, :on => :collection end