... | in url_mapper.naml |
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
<macro name="map_root" requires="url_mapper">
<n.regex Binary Namespace: BasicNamespace
Parameters:
pattern, text, do
♦ ♦ Binary Namespace: UrlMapperNamespace
♦ ♦
<pattern>
^/$
</pattern>
<do>
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: RegexNamespace
♦ ♦
<then>
<n.set_parameter Binary Namespace: UrlMapperNamespace
Parameters:
name, value
♦ ♦
<n.root_node Binary Namespace: NabbleNamespace
Parameters:
do
♦ ♦ Binary Namespace: NodeNamespace
♦ ♦
</n.set_parameter.>
<n.set_parameter Binary Namespace: UrlMapperNamespace
Parameters:
name, value
♦ ♦
<n.exit Binary Namespace: BasicNamespace
♦ ♦
</then>
</n.if.find>
</do>
</n.regex>
</macro>
|
Free forum by Nabble | Edit this page |