[openstreetmap/openstreetmap-website] Pass the user object, rather than the id, for sessions. (#1456)
Andy Allan
notifications at github.com
Wed Feb 22 10:00:19 UTC 2017
This simplifies the code slightly.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/1456
-- Commit Summary --
* Pass the user object, rather than the id, for sessions.
-- File Changes --
M test/controllers/changeset_controller_test.rb (4)
M test/controllers/diary_entry_controller_test.rb (62)
M test/controllers/site_controller_test.rb (30)
M test/controllers/trace_controller_test.rb (102)
M test/controllers/user_controller_test.rb (62)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/1456.patch
https://github.com/openstreetmap/openstreetmap-website/pull/1456.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1456
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170222/0fa75ad4/attachment.html>
More information about the rails-dev
mailing list