Skip to content

Commit

Permalink
Fix routes and stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
hschne committed Dec 11, 2023
1 parent d437184 commit 4eaa7a2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# frozen_string_literal: true

class ApplicationController < ActionController::Base
def home; end
end
1 change: 1 addition & 0 deletions app/views/application/home.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Hello there!
1 change: 1 addition & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Rails.application.routes.draw do
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html

root 'application#home'
# Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500.
# Can be used by load balancers and uptime monitors to verify that the app is live.
get 'up' => 'rails/health#show', as: :rails_health_check
Expand Down

0 comments on commit 4eaa7a2

Please sign in to comment.