I am attempting to beautify my routes so that they follow the syntax of lists/name-of-list/id as per here: http://gregmoreno.ca/how-to-create-google-friendly-urls-in-rails/ I have defined a new route like so:
map.list_permalink 'lists/:name/:id', :controller => 'lists', :action => 'show'
Everything works fine, but my existing ajax methods now route to the show action in the lists controller. How do I get around this? Should I create a separate controller just for rjs?
Edit: Here's an example of one of my ajax calls:
<%= link_to_remote word, :url => {
:controller => "lists",
:action => "display" } %>