I want my link_to links direct to my mapped urls, not the long ones with
controllers and actions in them.
What I have:
<%= link_to “random url”, random_url %>
map.random ‘random’, :controller => ‘start’, :action => ‘random’
What am I doing wrong?
I looked in named routes docs, link_to docs etc. but either I search in
wrong place or it’s magically hidden (I’d bet on the first one but I