Modules: app/util/routeUtils

Members


<static, constant> createSearch

Builds a path with a search string

Source:

<static, constant> getPropOnDeepestRoute

Looks up a property defined in the deepest route (e.g. title, or requirements)

Source:

Methods


createPath(path, params)

Builds a path from a template and replaces the params

Parameters:
Name Type Description
path

The configured path (e.g. /foo/:bar)

params

The param values you want to replace it with (e.g. {bar: 'baz'})

Source: