i just started learning how to custimize my urls but i have a few
questions that im sort of unsure about.
first. if i do this.
in my view for controller ‘nj’ i can do something like this?
<%= link_to (“show me details”, detail_url(something.id)) %>
is this the same as calling link_to like this?
<%= link_to (“show me details”, “localhost:3000/nj/” + something.id) %>
what is the difference between defining map like
map.detail :action => detail, :controller => nj
map.connect “nj/detail” :action => detail, :controller => ‘nj’