routing - Hierarchical routes in Yesod -
i'm trying use hierarchial routes in yesod (version 1.4.5.1), apparently i'm doing wrong. relevant part of config/routes
files (i'm using standard scaffolded site) looks this:
/ homer /about aboutr: / aboutindexr /team aboutteamr /service servicer: / serviceindexr /newsletter servicenewsletterr
i following compile errors:
foundation.hs:34:21 exception when trying run compile-time code: overlapping routes: ("homer", "aboutindexr") ("homer", "serviceindexr") ("aboutindexr", "serviceindexr")
apparently yesod doesn't understand 3 /
different paths!? mistake?
i have sites work this, , seems work correctly. copied routes snippet, seems pass overlap check fine. sure there's not kind of issue indentation in config/routes
? if you're that's not problem, perhaps can upload file somewhere review.
Comments
Post a Comment