mirror of
https://github.com/discourse/discourse.git
synced 2025-02-19 06:02:46 +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…
Reference in New Issue
Block a user