Skip to content

Commit 3494c3a

Browse files
authored
Feature/landing page (#12)
* setup basic fly deploy * trigger deploy and push to stage * align naming * change logos * add new logo * enable landing page * fix test
1 parent f6fa396 commit 3494c3a

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)