Simplified notation #16

Closed
nilshoerrmann opened this Issue Jul 13, 2012 · 4 comments

Comments

Projects
None yet
3 participants
@nilshoerrmann
Member

nilshoerrmann commented Jul 13, 2012

When creating new routes, the help text for simplified notations displays like this:

Simplified: page-name/$user/projects/$project

After saving it looks like this:

Simplified: page-name/:user/projects/:project

Only one can be right. Which?

@nilshoerrmann

This comment has been minimized.

Show comment
Hide comment
@nilshoerrmann

nilshoerrmann Jul 13, 2012

Member

There is another inconsistency:

Why does the from part exclude a slash at the beginning while the to part seems to require one?
( Simplified: page-name/:user/projects/:project vs. Simplified: /new-page-name/:user/:project)

Member

nilshoerrmann commented Jul 13, 2012

There is another inconsistency:

Why does the from part exclude a slash at the beginning while the to part seems to require one?
( Simplified: page-name/:user/projects/:project vs. Simplified: /new-page-name/:user/:project)

@DavidOliver

This comment has been minimized.

Show comment
Hide comment
@DavidOliver

DavidOliver Feb 20, 2013

I'm also interested in $user versus :user. The latter seems to be what people at the forum use(d).

I'm also interested in $user versus :user. The latter seems to be what people at the forum use(d).

@DavidOliver

This comment has been minimized.

Show comment
Hide comment
@DavidOliver

DavidOliver Feb 20, 2013

@jensscherbl is using $, so maybe they both work. Would be good to know what the recommended way is, though.

@jensscherbl is using $, so maybe they both work. Would be good to know what the recommended way is, though.

@jensscherbl

This comment has been minimized.

Show comment
Hide comment
@jensscherbl

jensscherbl Feb 21, 2013

As far as I remember, I tried :user notation first and it didn't work (consistently).

Since we're using $user-notation everywhere else in Symphony (params), I guess the :user-notation is just wrong in the UI?

As far as I remember, I tried :user notation first and it didn't work (consistently).

Since we're using $user-notation everywhere else in Symphony (params), I guess the :user-notation is just wrong in the UI?

@brendo brendo closed this in 9538377 Aug 13, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment