         return url
 
     # We didn't get anything.
-    if silent
-      false
-    else
-      throw new Error 'Router#reverse: invalid route specified'
+    throw new Error 'Router#reverse: invalid route specified'
 
   # Handler for the global !router:route event.
   routeHandler: (path, options, callback) ->

      callback = options
      options = {}

    path = @reverse name, params, options?.silent
    routed = @route path, options
    callback? routed


        handler.callback path, options
        return true

    throw new Error 'Router#route: request was not routed'

  # Find the URL for given criteria using the registered routes and
  # provided parameters. The criteria may be just the name of a route
  # or an object containing the name, controller, and/or action.
  # Warning: this is usually **hot** code in terms of performance.
  # Returns the URL string or false.
  reverse: (criteria, params) ->
    root = @options.root

    if params? and typeof params isnt 'object'
