]> git.openstreetmap.org Git - rails.git/commit
Pass the user object, rather than the id, for sessions.
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 22 Feb 2017 09:57:18 +0000 (09:57 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 22 Feb 2017 09:57:18 +0000 (09:57 +0000)
commit7d9d496da2a66c0a56aadd1bab72ede1a1b0359c
tree0a6731cece0721176cceaf12972d798f7547305d
parent1dc2ff7d576ebfb5a2889a4e49ede620f4d2faec
Pass the user object, rather than the id, for sessions.

This simplifies the code slightly.
test/controllers/changeset_controller_test.rb
test/controllers/diary_entry_controller_test.rb
test/controllers/site_controller_test.rb
test/controllers/trace_controller_test.rb
test/controllers/user_controller_test.rb