summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authormo <mokha@cisco.com>2017-09-01 22:46:52 -0600
committermo <mokha@cisco.com>2017-09-01 22:46:52 -0600
commit7a5b6a9f80d534bfa32bb6deb92ccb12762815e8 (patch)
tree916bbb4c24321bf476cb862b09a1e42d97100ca3 /config
parent6c0df4f225df1e09192b669815c22f569a832bc6 (diff)
upgrade products pages.
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index dee759b1..22a51796 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -17,7 +17,7 @@ Cake::Application.routes.draw do
resources :cakes, only: [:index, :show], path: :cakes do
resources :photos, only: [:index, :show]
- resources :favorites, only: [:index, :create]
+ resources :favorites, only: [:create]
get 'page/:page', action: :index, on: :collection, as: :paginate
collection do
get :newest, action: 'index', sort: 'newest'