AmbitionFramework / ambition

The Ambition MVC Framework for Vala
http://www.ambitionframework.org
Apache License 2.0
32 stars 4 forks source link

Variable in config/actions.conf for Path/Regex don't work #6

Closed ghost closed 11 years ago

ghost commented 11 years ago

I tried to test the config/actions.conf with the example from http://www.ambitionframework.org/wiki/tutorial/controllers_and_views. So I added a Path/Regex with /post/{post_id}, but it didn't parse my template. The output is always empty, if I request a page like http://localhost:8099/post/my_name. If I request for http://localhost:8099/post/{post_id} the correct template will be shown.

nmelnick commented 11 years ago

Looks like the docs are incorrect. Using brackets instead of braces will make it work.