On 8 Apr., 17:12, helmerj <[email protected]> wrote:
> > With latest master you can define security methods for custom actions. If
> > your
> > action is called activate, you can define authorized_for_activate? in your
> > model.
After the update my custom link does not show anymore, even before I
add some security methods. Has the syntax been changed?
This is my controller statement:
config.action_links.add "accept_user", :action=>"accept_user",
:method=>:put, :type=>:record,
:label=>"Accept User", :crud_type=>:update,
:inline=>true
--
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.