|
@@ -6,9 +6,6 @@ Rails.application.routes.draw do |
|
|
|
|
|
|
|
|
get '/admin' => 'admin#index' |
|
|
get '/admin' => 'admin#index' |
|
|
|
|
|
|
|
|
# Example of regular route: |
|
|
|
|
|
# get 'products/:id' => 'catalog#view' |
|
|
|
|
|
|
|
|
|
|
|
# Example of named route that can be invoked with purchase_url(id: product.id) |
|
|
# Example of named route that can be invoked with purchase_url(id: product.id) |
|
|
# get 'products/:id/purchase' => 'catalog#purchase', as: :purchase |
|
|
# get 'products/:id/purchase' => 'catalog#purchase', as: :purchase |
|
|
|
|
|
|
|
|