ApplicationController
START:setup
# File app/controllers/store_controller.rb, line 12 def index if params[:set_locale] redirect_to store_url(locale: params[:set_locale]) else @products = Product.order(:title) end end