Link to home
Create AccountLog in
Avatar of depassion
depassionFlag for Philippines

asked on

rails 3 scaffold showing strange links

after generating a post scaffold the normal "New post" and "Edit" links have the path included in the link

so

<%= link_to 'New post', new_post_path %> actually outputs this on the screen:

New post (/posts/new)

the html is normal

<a href="/posts/new">New post</a>

i've never seen this before
ASKER CERTIFIED SOLUTION
Avatar of depassion
depassion
Flag of Philippines image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer