I'm trying to disable the 'edit' link on a listing, as per
http://wiki.github.com/activescaffold/active_scaffold/api-action-link
but when I try to add
config.edit.link = false
to the configuration, I get the following error:
undefined method `edit' for Admin::PeopleController:Class
/Users/oliver/Sites/workout-contacts-admin-test2/vendor/plugins/active_scaffold/lib/active_scaffold/configurable.rb:24:in
`send'
/Users/oliver/Sites/workout-contacts-admin-test2/vendor/plugins/active_scaffold/lib/active_scaffold/configurable.rb:24:in
`method_missing'
/Users/oliver/Sites/workout-contacts-admin-test2/vendor/plugins/active_scaffold/lib/active_scaffold/config/core.rb:186:in
`method_missing'
/Users/oliver/Sites/workout-contacts-admin-test2/app/controllers/admin/people_controller.rb:32:in
`__instance_exec0'
has the API changed by any chance?
best
Oliver
There is no edit action, it's update (config.update.link = false)
--
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) ser...@entrecables.com