Rails.application.routes.draw do

  devise_for :users

  get '/cart' => 'cart#index'
  get '/cart/clear' => 'cart#clearCart'
  get '/cart/:id' => 'cart#add'


  resources :products
  root 'page#home'

  get 'page/about'

  get 'page/faqs'

  get 'page/contact'


end
