Mercurial > urweb
diff src/settings.sig @ 1752:675ce534e3ec
New optional suffice for 'rewrite' in .urp files: [-]
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sun, 06 May 2012 15:27:30 -0400 |
parents | c414850f206f |
children | 59b07fdae1ff |
line wrap: on
line diff
--- a/src/settings.sig Sun May 06 15:15:46 2012 -0400 +++ b/src/settings.sig Sun May 06 15:27:30 2012 -0400 @@ -97,7 +97,7 @@ type rule = { action : action, kind : pattern_kind, pattern : string } datatype path_kind = Any | Url | Table | Sequence | View | Relation | Cookie | Style - type rewrite = { pkind : path_kind, kind : pattern_kind, from : string, to : string } + type rewrite = { pkind : path_kind, kind : pattern_kind, from : string, to : string, hyphenate : bool } (* Rules for rewriting URLs from canonical forms *) val setRewriteRules : rewrite list -> unit