Ich suche ein Beispiel, wie ich folgende Routes erreichen kann Der aktuelle User ergibt sich aus der Session: foo/users -> Foo::UsersController#show foo/users/articles -> Foo::Users::ArticlesController#index foo/users/articles/1 -> Foo::Users::ArticlesController#show
Alternativ foo/user statt foo/users. Der aktuelle User wird explizit angegeben (nur für Admins) foo/users/1 -> Foo::UsersController#show foo/users/1/articles -> Foo::Users::ArticlesController#index foo/users/1/articles/1 -> Foo::Users::ArticlesController#show Michael -- Michael Schuerig mailto:mich...@schuerig.de http://www.schuerig.de/michael/ _______________________________________________ rubyonrails-ug mailing list rubyonrails-ug@headflash.com http://mailman.headflash.com/listinfo/rubyonrails-ug