module Slimer::WebHelpers
@nodoc
Public Instance Methods
current_path()
click to toggle source
# File lib/slimer/web/helpers.rb, line 10 def current_path @current_path ||= request.path_info.gsub(%r{^/}, "") end
root_path()
click to toggle source
# File lib/slimer/web/helpers.rb, line 6 def root_path "#{env["SCRIPT_NAME"]}/" end