err.. least I thought that was the case but looking at the controller docs, it mentions it. It's just edit/update that aren't there. sorry
On Jun 22, 5:02 pm, Tiago Franco <[email protected]> wrote: > Forget my last comment. The issue is with the create membership. > > TF > > On Jun 22, 11:57 pm, Tiago Franco <[email protected]> wrote: > > > > > Hmm. > > > Shouldn't this route take care of the problem? > > > championship_memberships_for_championship GET / > > championships/:championship_id/memberships(.:format) > > {:controller=>"championship_memberships", :action=>"index_for_championship"} > > > TF > > > On Jun 22, 11:46 pm, André Ribeiro <[email protected]> wrote: > > > > here is rake routes output:http://pastie.org/1015128 > > > > On Jun 22, 10:04 pm, Matt Jones <[email protected]> wrote: > > > > > On Tue, Jun 22, 2010 at 6:47 AM, Tiago Franco <[email protected]> > > > > wrote: > > > > > Hi Matt, > > > > > > Thanks for the correction. In fact what we meant was: > > > > > > championship_memberships_controller.rb > > > > > auto_actions_for :championship, [:new, :create, :index] > > > > > > This is what we have implemented and not working. > > > > > Can you post the output of 'rake routes'? The line above should be > > > > generating routes like: > > > > > /championships/:championship_id/championship_memberships > > > > > and so on. > > > > > --Matt Jones -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
