Merge branch 'master' of ssh://51.254.143.84:9319/home/git/pdfshop
This commit is contained in:
commit
a498bf2fa8
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue