Keep getting undefined method `rewrite' error for mapped url

Hi all,

I’ve checked numerous manuals but can’t find the answer anyway.

in my routes.rb file I have a mapping which maps
http://app/start/show/url
to http://app/url

everything works fine BUT:

  • when I want to use link_to, redirect_to (smth)
  • when I try to even enter <%= form_tag :action =>
    ‘some_other_action_from_the same_controller’ %>

I keep getting this error:

undefined method `rewrite’ for “xxxxxxx”:String

“xxxxxxx” is the ‘url’ in the mapping and the addres (http://app/URL)

What am I doing wrong?
How can I fix this so that I could use other actions freely.

Sabon