Module: DomainSwitcher::Helper

Defined in:
lib/domain_switcher/helper.rb

Instance Method Summary collapse

Instance Method Details

#domainObject



4
5
6
# File 'lib/domain_switcher/helper.rb', line 4

def domain
  Thread.current[:domain_switcher_domain]
end

#websiteObject



8
9
10
# File 'lib/domain_switcher/helper.rb', line 8

def website
  Thread.current[:domain_switcher_website]
end