What about with namespaces where there is no :parent_id? In my views, I would just pass :admin, but I'm not sure what to pass over in my tests. Maybe :admin => :admin or :admin => nil
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
namespacing breaks polymorphic_url | 28 | 478 | June 27, 2007 | |
Parent' show view and nested resources - Best practices ? | 0 | 116 | March 29, 2013 | |
named nested resource routes/polymorphic relationships | 0 | 130 | January 22, 2007 | |
How come my posts never get into this forum? | 1 | 132 | July 19, 2007 | |
Automatically add parent model id in nested resources | 1 | 146 | March 30, 2011 |