Ticket #470 (closed defect: duplicate)

Opened 11 months ago

Last modified 10 months ago

resources routes in a match('/foo').to :namespace => 'baz' block are generated incorrectly

Reported by: cameronc..@gmail.com Assigned to:
Priority: medium Milestone: The Future
Component: Routing Keywords:
Cc: cameroncox@gmail.com

Description

When using resources under a match().to :namespace block in router.rb, the generated route paths are prefixed with the contents of the match and the namespace as shown in http://pastie.caboo.se/140629. Where as non-resource routes are generated correctly. (e.g. /admin/login and /admin/logout)

To me that seems like unexpected behavior, and is more of an annoyance more than anything.

Change History

02/11/08 13:41:18 changed by shayarne..@gmail.com

  • status changed from new to closed.
  • resolution set to duplicate.