forked from saurabh/orbit4-5
fix KeywordConstraint
This commit is contained in:
parent
285335b0c3
commit
308b4ec1a5
|
@ -1,6 +1,6 @@
|
||||||
class KeywordConstraint
|
class KeywordConstraint
|
||||||
def matches?(request)
|
def matches?(request)
|
||||||
keywords = ["/admin", "/desktop", "/user", "/signup", "/login"]
|
keywords = ["/admin/", "/desktop", "/users/"]
|
||||||
keywords.all? { |k| !request.url.include?(k) }
|
keywords.all? { |k| !request.url.include?(k) }
|
||||||
end
|
end
|
||||||
end
|
end
|
Loading…
Reference in New Issue