mirror of
https://github.com/discourse/discourse.git
synced 2025-03-21 19:45:42 +08:00
FIX: rescue specific error
This commit is contained in:
parent
416d19af27
commit
003b7f06ad
@ -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?', '?')
|
||||
|
Loading…
x
Reference in New Issue
Block a user