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

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

get '/' do
  erb :index
end


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
Remove restricted route; need to figure out what format works for regex on that
