> > Is there an ActiveScaffold method that returns the name of the parent > > of a nested controller? > > I'm not sure, try with params[:parent_controller]
Only :parent_model is available in params. It isn't difficult the model name from this. I was wondering if there is a way to avoid that, though. thks, david --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
