Split the rest action into sparate read, update and delete actions thus
authorTom Hughes <tom@compton.nu>
Wed, 27 Jun 2007 17:27:10 +0000 (17:27 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 27 Jun 2007 17:27:10 +0000 (17:27 +0000)
commitdcad29dad0d29e22ffa0c34a8d9b43cbf5d64f12
treed76ef9254c2e69e292d9c9f444b3ba5e60b1b355
parent9d6ae5baae9f86acb8e2d9fcb006d8b81167281b
Split the rest action into sparate read, update and delete actions thus
allowing authorization to be done on a per-action basis without worring
about the method. This should make the user API work.

Also do a lot of cleanup of the controllers.
17 files changed:
app/controllers/amf_controller.rb
app/controllers/api_controller.rb
app/controllers/application.rb
app/controllers/diary_entry_controller.rb
app/controllers/message_controller.rb
app/controllers/node_controller.rb
app/controllers/old_node_controller.rb
app/controllers/old_segment_controller.rb
app/controllers/old_way_controller.rb
app/controllers/search_controller.rb
app/controllers/segment_controller.rb
app/controllers/swf_controller.rb
app/controllers/trace_controller.rb
app/controllers/user_controller.rb
app/controllers/way_controller.rb
app/models/trace.rb
config/routes.rb