2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-08-21 19:11:18 +08:00

DEV: Apply syntax_tree formatting to lib/*

This commit is contained in:
David Taylor 2023-01-09 12:10:19 +00:00
parent b0fda61a8e
commit 6417173082
No known key found for this signature in database
GPG key ID: 46904C18B1D3F434
507 changed files with 16550 additions and 12627 deletions

View file

@ -1,9 +1,7 @@
# frozen_string_literal: true
class PermalinkConstraint
def matches?(request)
Permalink.where(url: Permalink.normalize_url(request.fullpath)).exists?
end
end