mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 13:31:18 +08:00
DEV: Apply syntax_tree formatting to lib/*
This commit is contained in:
@ -1,9 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class PermalinkConstraint
|
||||
|
||||
def matches?(request)
|
||||
Permalink.where(url: Permalink.normalize_url(request.fullpath)).exists?
|
||||
end
|
||||
|
||||
end
|
||||
|
Reference in New Issue
Block a user