Sha256: 9d49b5046cb8eb0e1ba7db4da86f1d16d33159dcba2b71c743dd19da2bc70ba4
Contents?: true
Size: 201 Bytes
Versions: 3
Compression:
Stored size: 201 Bytes
Contents
require 'uri' module Broker module WebHelpers def root_path "#{env['SCRIPT_NAME']}/" end def current_path @current_path ||= request.path_info.gsub(/^\//,'') end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
broker-0.1.2 | lib/broker/web_helpers.rb |
broker-0.1.1 | lib/broker/web_helpers.rb |
broker-0.0.9 | lib/broker/web_helpers.rb |