A platform for community discussion. Free, open, simple.
FIX: rescue specific error
Arpit Jalan003b7f06adf3
diff --git a/app/controllers/tags_controller.rb b/app/controllers/tags_controller.rbindex d5c086d2ae2..09ad79c44fc 100644--- a/app/controllers/tags_controller.rb+++ b/app/controllers/tags_controller.rb@@ -283,7 +283,7 @@ class TagsController < ::ApplicationControllerelse # :nextpublic_send(method, opts.merge(next_page_params(opts)))end- rescue+ rescue ActionController::UrlGenerationErrorraise Discourse::NotFoundendurl.sub('.json?', '?')