mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
9 lines
226 B
Ruby
9 lines
226 B
Ruby
# frozen_string_literal: true
|
|
|
|
class LocalesController < BaseController
|
|
def show
|
|
UserLocaleSetter.new(spree_current_user, params[:id], cookies).set_locale
|
|
redirect_back fallback_location: main_app.root_url
|
|
end
|
|
end
|