[LRUG] Rails Question : Matching Share Nested Resources to Controllers
Anthony Green
Anthony.Green at bbc.co.uk
Mon Nov 5 06:04:47 PST 2007
I had a brief glance at this but was concerned it was very naïve about view
contexts
Lines like this in the documentation...
"* test for the existence of @user or @forum in the view, and display it
differently"
don't instill much confidence
... in me at least
Tony
On 5/11/07 13:20, "Craig Webster" <craig at xeriom.net> wrote:
> On 5 Nov 2007, at 13:16, Anthony Green wrote:
>> What are peoples views on what is a sensible approach on what
>> controller
>> strategy you should employ for shared nested resources
>> [...]
>> Or a single controller with some form of contextual checking ?
>
> Check out resources_controller which does this sort of thing rather
> nicely:
>
> http://plugins.ardes.com/doc/resources_controller/
>
> Cheers,
> Craig
> --
> Craig Webster | Lead Developer | skype: craigwebster
> Xeriom Networks | t: 0131 208 3800 | w: http://xeriom.net/
>
> -- Virtual machines, dedicated servers and colocation --
>
> Xeriom Networks Limited.
> 94/1 Spring Gardens, Abbeyhill, Edinburgh, Scotland.
> Registered in England and Wales. Company No. 5961686.
>
> All agreements are made under our standard terms and conditions.
> These can
> be found at http://xeriom.net/terms_and_conditions
>
>
More information about the Chat
mailing list