Redirect initial request to admin login

This commit is contained in:
Martin Lensment 2015-03-24 11:35:23 +02:00
parent 0d89dff63a
commit f791631ba1

View file

@ -105,7 +105,7 @@ Rails.application.routes.draw do
# root to: 'admin/domains#index', as: :authenticated_root # root to: 'admin/domains#index', as: :authenticated_root
# end # end
root to: redirect('login') root to: redirect('admin/login')
# The priority is based upon order of creation: first created -> highest priority. # The priority is based upon order of creation: first created -> highest priority.
# See how all your routes lay out with "rake routes". # See how all your routes lay out with "rake routes".