mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Add home controller to ofn codebase from spree frontend
This commit is contained in:
8
app/controllers/spree/home_controller.rb
Normal file
8
app/controllers/spree/home_controller.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
module Spree
|
||||
class HomeController < Spree::StoreController
|
||||
respond_to :html
|
||||
|
||||
def index
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user