Hi all,

I might be missing a point, but how do I refer to the dynamic routes in 
dispatcher.conf from within my content?

Taking this example route from the wiki is there a function that does 
something like the following function?

{dynamic, "^/blog/post/(?<post_no>[0-9]+)$", {blog, display_post}}.

route:create({blog, display_post}, [{post_no, "23"}])  ->   "/blog/post/23"


Kindest regards,
Zoltan.

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Erlangweb-users mailing list
Erlangweb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlangweb-users
http://www.erlang-web.org/

Reply via email to