This project is archived and is in readonly mode.
Better syntax for form_for with namespaced routes
-
Jeff Kreeftmeijer
- Importance changed from to Low
-1
Maybe I'm not understanding correctly, but I don't think adding
:namespacehere is an improvement. Using[:namespace, :namespace, @item]seems more intuitive to me.Is there anything I'm missing? :)
-
Andrew White
- State changed from new to wontfix
Along with Jeff's comments there's also the issue of nested resources, e.g:
form_for([@manufacturer, @product])If you can come up with a compelling use case (other than nicer syntax, which is subjective) then it can be reconsidered.