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

On Thu, Aug 7, 2008 at 7:41 PM, joel [email protected] wrote:

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

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