Module: HttpRouter::RegexRouteGeneration

Defined in:
lib/http_router/regex_route_generation.rb

Instance Method Summary collapse

Instance Method Details

#url_with_params(*a) ⇒ Object



3
4
5
6
7
8
# File 'lib/http_router/regex_route_generation.rb', line 3

def url_with_params(*a)
  url_args_processing(a) do |args, options|
    respond_to?(:raw_url) or raise InvalidRouteException
    raw_url(args, options)
  end
end