Method: ApplicationHelper#server_url_for

Defined in:
app/helpers/application_helper.rb

#server_url_for(options = {}) ⇒ Object



107
108
109
# File 'app/helpers/application_helper.rb', line 107

def server_url_for(options = {})
  "http://" << @request.host << @request.port_string << (options.empty? ? '' : url_for(options))
end