Closed ghost closed 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.
Looks like the docs are incorrect. Using brackets instead of braces will make it work.
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.