mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 06:52:46 +08:00
FIX: Permalink route matcher should always be last.
This commit is contained in:
parent
a74d62d618
commit
b7865bac27
|
@ -803,9 +803,9 @@ Discourse::Application.routes.draw do
|
|||
get "/qunit" => "qunit#index"
|
||||
end
|
||||
|
||||
get "*url", to: 'permalinks#show', constraints: PermalinkConstraint.new
|
||||
|
||||
post "/push_notifications/subscribe" => "push_notification#subscribe"
|
||||
post "/push_notifications/unsubscribe" => "push_notification#unsubscribe"
|
||||
|
||||
get "*url", to: 'permalinks#show', constraints: PermalinkConstraint.new
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user