Remove config_locale from base controller, in OFN we dont have separate locales for frontoffice and backoffice

This commit is contained in:
luisramos0
2019-12-26 12:22:12 +00:00
parent e1f61e645d
commit 2acf8e5125

View File

@@ -86,10 +86,6 @@ module Spree
raise(ActionController::InvalidAuthenticityToken)
end
def config_locale
Spree::Backend::Config[:locale]
end
private
def html_request?