```ruby
RESTRICTED_PATHS = [/\/users\/.+/]

RESTRICTED_PATHS.each do |path|
  redirect "/" unless current_user
end

get '/' do
  erb :index
end

```

Remove restricted route; need to figure out what format works for regex on that
user
```ruby
RESTRICTED_PATHS = []
# /\/users\/.+/

RESTRICTED_PATHS.each do |path|
  redirect "/" unless current_user
end

get '/' do
  erb :index
end

```
assistant