config/routes.rb in workarea-storefront-3.4.45 vs config/routes.rb in workarea-storefront-3.5.0.beta.1
- old
+ new
@@ -26,11 +26,10 @@
get :details
end
end
resource :email_signup, only: [:show, :create]
- resources :searches, only: :index
resource :search, only: :show
get '/current_user', to: 'application#current_user_info', as: :current_user
resource :cart, only: :show do
@@ -65,11 +64,13 @@
patch 'place_order', to: 'place_order#place_order'
get 'confirmation', to: 'place_order#confirmation'
end
- resource :recent_views, only: [:show, :update]
+ resources :downloads, only: :show
+
+ resource :recent_views, only: :show
resource :recommendations, only: :show
resource :sitemap, only: :show
namespace :users do
@@ -92,9 +93,10 @@
get 'style_guides', to: 'style_guides#index', as: :style_guides
get 'style_guides/:category', to: 'style_guides#category', as: :style_guides_category
get 'style_guides/:category/:id', to: 'style_guides#show', as: :style_guide
+ post 'analytics/new_session', to: 'analytics#new_session', as: :analytics_new_session
post 'analytics/product_view/:product_id', to: 'analytics#product_view', as: :analytics_product_view
post 'analytics/category_view/:category_id', to: 'analytics#category_view', as: :analytics_category_view
post 'analytics/search', to: 'analytics#search', as: :analytics_search
post 'analytics/search_abandonment', to: 'analytics#search_abandonment', as: :analytics_search_abandonment
post 'analytics/filters', to: 'analytics#filters', as: :analytics_filters