module SiteFramework::DummyHelper
Return the current site, domain, domain_name if it wasn't the default site
Public Instance Methods
current_domain()
click to toggle source
# File lib/site_framework/helpers.rb, line 13 def current_domain SiteFramework::CurrentState.instance.domain end
current_domain_name()
click to toggle source
# File lib/site_framework/helpers.rb, line 17 def current_domain_name SiteFramework::CurrentState.instance.domain_name end
current_site()
click to toggle source
# File lib/site_framework/helpers.rb, line 9 def current_site SiteFramework::CurrentState.instance.site end
default_site?()
click to toggle source
# File lib/site_framework/helpers.rb, line 21 def default_site? return true if SiteFramework::CurrentState.instance.site.nil? false end