Skip to content

Commit e836f2b

Browse files
committed
Merge branch 'main' of github.com:devcongress/hackathon
2 parents 85fd817 + 3494c3a commit e836f2b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

config/routes.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# Can be used by load balancers and uptime monitors to verify that the app is live.
44
get "up" => "rails/health#show", :as => :rails_health_check
55

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

test/controllers/homepage_controller_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
class HomepageControllerTest < ActionDispatch::IntegrationTest
44
test "should get index" do
55
get root_path
6-
assert_redirected_to '/hacker/login'
6+
assert_response :success
77
end
88
end

0 commit comments

Comments
 (0)