Hi, I'm having some trouble understanding how to configure action
links to appear in the scaffold. I read through the doc and many
examples in the group, but I'm still missing something. Here's my test
controller.
class SomethingsController < ApplicationController
active_scaffold :somethings do |config|
config.action_links.add "Test Link",
:label => "Test"
config.action_links.add "Test Table Link",
:label => "Test Table Link",
:type => :table
config.action_links.add "Test Record Link",
:label => "Test Record Link",
:type => :record
end
end
- The first link, Test Link, appears just fine, to the right of the
"Create New" link
- The second link and third links, Test Table Link and Test Record
Link, don't appear
I'm sure I'm missing something simple, right?
Thanks in advance for any quick help you can give this poor noobie.
--
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.