Hi,
I have:
Thing
has_many :items
Item
belongs_to :thing
ThingsController:
active_scaffold :thing do |config|
config.actions =
[:create, :show, :list, :update, :search, :delete, :nested]
config.nested.add_link("show items", [:items])
end
ItemsController
active_scaffold :item do |config|
config.actions =
[:show, :list, :update, :search, :delete, :create]
end
end
...
But I do not have a "Show items" link on my things view...
Further, if I create a new "thing", I don't have a link to add many
"items"...
What do I need to do to enable this functionality?
-patrick
--
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.