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:
parent
b0fda61a8e
commit
6417173082
507 changed files with 16550 additions and 12627 deletions
|
@ -1,9 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class PermalinkConstraint
|
||||
|
||||
def matches?(request)
|
||||
Permalink.where(url: Permalink.normalize_url(request.fullpath)).exists?
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue