Skip to content

Commit

Permalink
hello_appの設定追加
Browse files Browse the repository at this point in the history
  • Loading branch information
ryo-i committed Apr 15, 2024
1 parent 253086e commit 3e530c7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
3 changes: 3 additions & 0 deletions app/controllers/application_controller.rb
@@ -1,2 +1,5 @@
class ApplicationController < ActionController::Base
def hello
render html: "こんにちは、るびぃ"
end
end
7 changes: 2 additions & 5 deletions config/routes.rb
@@ -1,6 +1,3 @@
Rails.application.routes.draw do
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html

# Defines the root path route ("/")
# root "articles#index"
end
root "application#hello"
end

0 comments on commit 3e530c7

Please sign in to comment.