route url and path

Hello All,

what s the difference when using routes with url and path, like
forum_path(something) or forum_url(something)

Joel

The difference is that url will give you a complete url including

the hostname:

items_url expands to http://localhost:3000/items

and path:

items_path expands to ‘/items’

Franz