module ApplicationHelper
def current_url?(options)
def current_url?(options) url = case options when Hash url_for options else options.to_s end #TODO: look for other instances of request_uri request.original_fullpath =~ Regexp.new('^' + Regexp.quote(clean(url))) end