Fix root route

This commit is contained in:
Artur Beljajev 2018-07-19 16:55:42 +03:00
parent 1babdf33af
commit 97650e2a6a

View file

@ -235,5 +235,6 @@ Rails.application.routes.draw do
end
end
root to: redirect('admin/login')
# To prevent users seeing the default welcome message "Welcome aboard" from Rails
root to: redirect('admin/sign_in')
end