Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ghost opened this issue Apr 6, 2013 · 1 comment
Closed

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

ghost opened this issue Apr 6, 2013 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 6, 2013

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant