I’m trying to override/remove the following default routes set by Clearance.
get '/sign_in' => 'clearance/sessions#new', :as => 'sign_in'
get '/sign_up' => 'clearance/users#new', :as => 'sign_up'
Ideally what I’d like to do is change the ‘/sign_in’ path to ‘/admin/sign_in’ and to remove the ‘/sign_up’ path/view altogether. I can get the ‘admin/sign_in’ path working via:
get '/admin/sign_in', to: 'clearance/sessions#new'
So I just want to remove the two default routes set by Clearance. I’ve looked around and there doesn’t seem to be any easy way to do this?
Appreciate any suggestions.
Thanks in advance!