Sha256: a841280ceebb817d90bd39f0785792029a1fc72c7a918186005156c71b8c46f4
Contents?: true
Size: 378 Bytes
Versions: 4
Compression:
Stored size: 378 Bytes
Contents
module Vidibus module Helpers module Extensions module Controller extend ActiveSupport::Concern included do helper_method :current_host end # Returns current hostname with protocol. def current_host @current_host ||= "#{request.protocol}#{request.host_with_port}" end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems