]> git.openstreetmap.org Git - rails.git/commit
Refactor @this_user to @user
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 11 Apr 2018 03:42:33 +0000 (11:42 +0800)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 11 Apr 2018 03:42:33 +0000 (11:42 +0800)
commit7b2af50f4a12da6f18c4b5d89ee1264e252c6da9
treef6dd31ede557a528523b79827746b13ea3884171
parentfc90b7358124ce9017a94b3f6e4a779fbc28c71c
Refactor @this_user to @user

Historically we used @user for the currently logged in user, but
this was changed to `current_user` in 2017.
16 files changed:
app/controllers/application_controller.rb
app/controllers/diary_entry_controller.rb
app/controllers/message_controller.rb
app/controllers/notes_controller.rb
app/controllers/user_blocks_controller.rb
app/controllers/user_controller.rb
app/controllers/user_roles_controller.rb
app/views/diary_entry/_diary_entry.html.erb
app/views/diary_entry/comments.html.erb
app/views/diary_entry/list.html.erb
app/views/user/_contact.html.erb
app/views/user/api_read.builder
app/views/user/view.html.erb
app/views/user_blocks/blocks_by.html.erb
app/views/user_blocks/blocks_on.html.erb
app/views/user_blocks/new.html.erb