diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb new file mode 100644 index 0000000..dd6117f --- /dev/null +++ b/app/controllers/home_controller.rb @@ -0,0 +1,3 @@ +class HomeController < ApplicationController + def show; end +end diff --git a/app/views/home/show.html.svelte b/app/views/home/show.html.svelte new file mode 100644 index 0000000..33e1f1d --- /dev/null +++ b/app/views/home/show.html.svelte @@ -0,0 +1 @@ +
show.html.svelte
diff --git a/config/routes.rb b/config/routes.rb index 33c9639..a5a8830 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -10,5 +10,5 @@ get "manifest" => "rails/pwa#manifest", as: :pwa_manifest # Defines the root path route ("/") - # root "posts#index" + root "home#show" end