Merge branch 'master' of ssh://51.254.143.84:9319/home/git/pdfshop

This commit is contained in:
Adrian Hinz 2018-06-01 15:17:33 +02:00
commit a498bf2fa8
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@ class ShopController < ApplicationController
include PageContent include PageContent
def set_settings def set_settings
Rails.logger.error request.location.country_code
@ss = ScSetting.first @ss = ScSetting.first
redirect_to '/closed.html' if @ss.shop_active.eql?(false) redirect_to '/closed.html' if @ss.shop_active.eql?(false)
end end