FIX: rescue specific error

This commit is contained in:
Arpit Jalan 2018-05-18 09:52:16 +05:30
parent 416d19af27
commit 003b7f06ad

View File

@ -283,7 +283,7 @@ class TagsController < ::ApplicationController
else # :next
public_send(method, opts.merge(next_page_params(opts)))
end
rescue
rescue ActionController::UrlGenerationError
raise Discourse::NotFound
end
url.sub('.json?', '?')