Skip to content

Commit

Permalink
Remove duplicated option_values resources configuration
Browse files Browse the repository at this point in the history
The above line already configures all the routes for the option value resource.
  • Loading branch information
SamuelMartini committed Feb 14, 2020
1 parent b194c38 commit 14a2261
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion api/config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
end
resources :option_values

resources :option_values, only: :index
get '/orders/mine', to: 'orders#mine', as: 'my_orders'
get "/orders/current", to: "orders#current", as: "current_order"

Expand Down

0 comments on commit 14a2261

Please sign in to comment.