mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-01 02:03:22 +00:00
Remove config_locale from base controller, in OFN we dont have separate locales for frontoffice and backoffice
This commit is contained in:
@@ -86,10 +86,6 @@ module Spree
|
||||
raise(ActionController::InvalidAuthenticityToken)
|
||||
end
|
||||
|
||||
def config_locale
|
||||
Spree::Backend::Config[:locale]
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def html_request?
|
||||
|
||||
Reference in New Issue
Block a user