[openstreetmap/openstreetmap-website] Fix timeout messages for former browse pages (PR #4617)

Anton Khorev notifications at github.com
Thu Apr 4 12:44:27 UTC 2024


@AntonKhorev commented on this pull request.



> @@ -11,7 +11,7 @@ class NotesController < ApplicationController
 
   before_action :lookup_user, :only => [:index]
   before_action :set_locale
-  around_action :web_timeout
+  around_action :web_timeout, :only => :show

There was no code for timeouts on non-map layout pages. https://github.com/openstreetmap/openstreetmap-website/commit/a7f0de41e65f90c8a20e1a219a5b7ecf498628a7 enabled timeouts here without defining any timeout templates.

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

Message ID: <openstreetmap/openstreetmap-website/pull/4617/review/1979776837 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240404/312b4241/attachment.htm>


More information about the rails-dev mailing list