mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 20:00:49 +08:00
11 lines
173 B
Ruby
11 lines
173 B
Ruby
class ReactConstraint
|
|
|
|
|
|
def matches?(request)
|
|
# stuff
|
|
#
|
|
!File.exists?(File.join(Rails.root, "public", request.fullpath.split('?').first))
|
|
end
|
|
|
|
|
|
end |