Add home controller to ofn codebase from spree frontend

This commit is contained in:
luisramos0
2019-04-01 16:04:06 +01:00
parent 5037cce6f5
commit fc145d472d
2 changed files with 8 additions and 2 deletions

View File

@@ -0,0 +1,8 @@
module Spree
class HomeController < Spree::StoreController
respond_to :html
def index
end
end
end

View File

@@ -87,8 +87,6 @@ Spree::Core::Engine.routes.prepend do
put :cancel, on: :member
end
root :to => 'home#index'
resources :products
match '/locale/set', :to => 'locale#set'