module CurrentDomain::Controllers::Helpers
Public Instance Methods
current_domain()
click to toggle source
# File lib/current_domain/controllers/helpers.rb, line 6 def current_domain @current_domain ||= find_domain(request.host) end
Private Instance Methods
find_domain(host)
click to toggle source
# File lib/current_domain/controllers/helpers.rb, line 16 def find_domain(host) host end