fix admin routes
This commit is contained in:
@@ -3,7 +3,7 @@ Rails.application.routes.draw do
|
|||||||
|
|
||||||
root to: "entrypoint#index"
|
root to: "entrypoint#index"
|
||||||
get "*all" => "entrypoint#index", constraints: lambda { |req|
|
get "*all" => "entrypoint#index", constraints: lambda { |req|
|
||||||
["playground", "rails", "graphql"].filter do |path|
|
["rails", "admin", "graphql", "playground"].filter do |path|
|
||||||
req.path.include?(path)
|
req.path.include?(path)
|
||||||
end.blank?
|
end.blank?
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user