We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6fa396 commit 3494c3aCopy full SHA for 3494c3a
2 files changed
config/routes.rb
@@ -3,8 +3,8 @@
3
# Can be used by load balancers and uptime monitors to verify that the app is live.
4
get "up" => "rails/health#show", :as => :rails_health_check
5
6
- # resources :homepage, only: [:index]
7
- root to: redirect("/hacker/login")
+ resources :homepage, only: [:index]
+ # root to: redirect("/hacker/login")
8
get "/about", to: "homepage#about"
9
get "/contact", to: "homepage#contact"
10
test/controllers/homepage_controller_test.rb
@@ -3,6 +3,6 @@
class HomepageControllerTest < ActionDispatch::IntegrationTest
test "should get index" do
get root_path
- assert_redirected_to '/hacker/login'
+ assert_response :success
end
0 commit comments