Skip to content

Commit

Permalink
Use simple Svelte template for home page
Browse files Browse the repository at this point in the history
  • Loading branch information
floehopper committed Sep 20, 2024
1 parent aefe97f commit eb729e4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions app/controllers/home_controller.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
class HomeController < ApplicationController
def show; end
end
1 change: 1 addition & 0 deletions app/views/home/show.html.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<p>show.html.svelte</p>
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
get "manifest" => "rails/pwa#manifest", as: :pwa_manifest

# Defines the root path route ("/")
# root "posts#index"
root "home#show"
end

0 comments on commit eb729e4

Please sign in to comment.