]> git.openstreetmap.org Git - rails.git/commit
Use current_user to represent the currently logged in user.
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 12 Jul 2017 15:10:50 +0000 (16:10 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 12 Jul 2017 15:10:50 +0000 (16:10 +0100)
commit6f89da05d1741ac66deab93aea64b76dc1e9b8fb
tree7e9f3b43dfb489c19977ff71d2ef7ee3e43de2ac
parent107e9515b35544cb8e4ac66838b9a37f95cdfa89
Use current_user to represent the currently logged in user.

This is already used by the oauth plugin, and is a general rails convention.
17 files changed:
app/controllers/api_controller.rb
app/controllers/browse_controller.rb
app/controllers/changeset_controller.rb
app/controllers/diary_entry_controller.rb
app/controllers/message_controller.rb
app/controllers/node_controller.rb
app/controllers/notes_controller.rb
app/controllers/oauth_clients_controller.rb
app/controllers/old_controller.rb
app/controllers/redactions_controller.rb
app/controllers/relation_controller.rb
app/controllers/site_controller.rb
app/controllers/trace_controller.rb
app/controllers/user_blocks_controller.rb
app/controllers/user_preference_controller.rb
app/controllers/user_roles_controller.rb
app/controllers/way_controller.rb