Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

polymorphic_url should compact given array

#1317

For example, there is an usage of polymorphic_path like,


 polymorphic_path([@project, @filter, @issue])

However, sometime @filter will be nil, but I don't get error such a "NoMethodError: undefined method project_nil_class_issue_url'". I would rather get a same result of project_issue_url.

Reported by hiroshi · November 3rd, 2008 @ 05:35 AM

State: committed
Milestone: 2.x
Assigned to: nobody
Importance: none