Changeset [cb77bc2325b1f165d08b0171fe501de70ef759ff] by Ian White
Revision cb77bc2325b1f165d08b0171fe501de70ef759ff,
committed by Ian White
· January 27th, 2010 @ 01:31 PM
added ResourceMethods#destroy_resource, which calls destroy on
the resource_service, which in turn finds the best way to
destroy the resource to trigger any association callbacks. Changed
actions to use the destroy_resource method. (reported by Jason Lee)
http://github.com/ianwhite/resources_controller/commit/cb77bc2325b1...
11 changed files
-
M
History.txt -
M
lib/ardes/resources_controller.rb -
M
lib/ardes/resources_controller/actions.rb -
M
lib/ardes/resources_controller/singleton_actions.rb -
M
spec/controllers/addresses_controller_spec.rb -
M
spec/controllers/comments_controller_spec.rb -
M
spec/controllers/forum_posts_controller_spec.rb -
M
spec/controllers/resource_service_in_forums_controller_spec.rb -
M
spec/controllers/resource_service_in_infos_controller_spec.rb -
M
spec/controllers/resource_service_in_interests_controller_via_forum_spec.rb -
M
spec/lib/resource_methods_spec.rb