@gravitystorm commented on this pull request.


> +    assert_redirected_to diary_entry_path(user, user.diary_entries.last)
     entry = DiaryEntry.last

Yes, I thought that too. I could refactor that as part of this PR, or 
separately. Which would you prefer? (and do you have any preferences for 
referring to the entry e.g. `user.diary_entries.last` or `DiaryEntry.last` or 
something else?)



-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5484#discussion_r1907589026
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/pull/5484/review/2537837...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to