Skip to content

Commit 50b118d

Browse files
committed
set defaul route
1 parent b7a24b2 commit 50b118d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/routes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
get "up" => "rails/health#show", :as => :rails_health_check
55

66
# resources :homepage, only: [:index]
7-
root "homepage#index"
7+
root to: redirect('/hacker/login')
88
get "/about", to: "homepage#about"
99
get "/contact", to: "homepage#contact"
1010

0 commit comments

Comments
 (0)