It’s being evaluated - what is happening is that the controller is being
added to the front of the URL, when actually I don’t want that to
think that the url_for stuff would happen to it, but the request itself
must be getting intercepted and modified.
In fact, I want to be able to say something like
map.connect ‘xyz/abc’ :controller => myController, etc.
I can’t force it to ignore the controller using :controller => nil,
since that will keep it from getting evaluated correctly.
But I get the controller in front of my URL which is totally irritating
because in order to make it work I probably have to hard code the
controller name that I know will be prepended.
I think I’d like the URL generation to maybe be less smart. I’m not
Norman T. wrote:
Am Montag, den 27.03.2006, 23:51 +0200 schrieb Wes G.:
Given an argument of “htmlfiles/xyz.html”, it keeps saying that it can’t
find an “htmlfiles” action. As you can see, I’m attempting to match the
first parameter against “htmlfiles”.
Any idea why this route won’t match?
(I’ve also tried the “requirements form” of the route and can’t get it
Are you sure this route is evaluated? Perhaps a route before it is
matching and this is never processed.