diff --git a/app/controllers/welcome_controller.rb b/app/controllers/welcome_controller.rb new file mode 100644 index 0000000..801be08 --- /dev/null +++ b/app/controllers/welcome_controller.rb @@ -0,0 +1,3 @@ +class WelcomeController < ApplicationController + def index; end +end \ No newline at end of file diff --git a/app/views/welcome/index.html.erb b/app/views/welcome/index.html.erb new file mode 100644 index 0000000..ba7c290 --- /dev/null +++ b/app/views/welcome/index.html.erb @@ -0,0 +1 @@ +

Hello World!

\ No newline at end of file diff --git a/config/routes.rb b/config/routes.rb index c06383a..192b758 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,3 +1,4 @@ Rails.application.routes.draw do # For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html + root to: 'welcome#index' end