mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
11 lines
368 B
Ruby
11 lines
368 B
Ruby
class BaseController < ApplicationController
|
|
include Spree::Core::ControllerHelpers
|
|
include Spree::Core::ControllerHelpers::RespondWith
|
|
|
|
helper 'spree/base'
|
|
|
|
# Spree::Core::ControllerHelpers declares helper_method get_taxonomies, so we need to
|
|
# include Spree::ProductsHelper so that method is available on the controller
|
|
include Spree::ProductsHelper
|
|
end
|