Named routes confusion

Hi,
I’m trying generate a URL from a named route like:
namedroute_url(params…)
but the generated route is always coming out as the first match from the
routes table.

The named route is defined inside a map.with_options block, but that
shouldn’t matter should it?

dorian

On 5/23/06, Dorian M. [email protected] wrote:

I’m trying generate a URL from a named route like: namedroute_url(params…)
but the generated route is always coming out as the first match from the routes table.

The named route is defined inside a map.with_options block, but that shouldn’t matter should it?

An example of what you’re trying to do, what your routes.rb file looks
like, and what you’re getting as output would be pretty helpful.

sorry…

I’ve just realised what my mistake was. routes are working as expected!
next time (when there’s a real error) I’ll post some code

dorian