[openstreetmap/openstreetmap-website] Add database checks to issue and report controllers (PR #3878)

Andy Allan notifications at github.com
Wed Jan 11 11:00:59 UTC 2023


@gravitystorm requested changes on this pull request.



> @@ -3,6 +3,7 @@ class IssueCommentsController < ApplicationController
 
   before_action :authorize_web
   before_action :set_locale
+  before_action :check_database_readable

I think this needs to be `writeable` for `create` to work

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

Message ID: <openstreetmap/openstreetmap-website/pull/3878/review/1243702776 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230111/bb415e8b/attachment.htm>


More information about the rails-dev mailing list