[Ur] Calling a function when the root / path is requested

Chris Double chris.double at double.co.nz
Sat Jun 4 07:39:32 EDT 2011


On Sat, Jun 4, 2011 at 10:46 PM, Adam Chlipala <adamc at impredicative.com> wrote:
> You can use the 'rewrite' directive to make some function the "default."  If
> you want this to be function [main] from module [Main], put this in your
> .urp file:
>    rewrite url Main/main

Won't this stop other url's from working? eg, if there is also a /test
path calling a 'test' function?

Chris.
-- 
http://www.bluishcoder.co.nz



More information about the Ur mailing list