From c022b31375c0ebbb49f52a4b7fbd0909ecb47991 Mon Sep 17 00:00:00 2001 From: Yatish Mehta Date: Sun, 21 Apr 2024 20:20:43 -0700 Subject: [PATCH] Modified the subtitle --- .env.sample | 4 +++- app/controllers/home_controller.rb | 1 + app/views/home/index.html.erb | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.env.sample b/.env.sample index b3689c1..156a62e 100644 --- a/.env.sample +++ b/.env.sample @@ -4,4 +4,6 @@ POSTGRES_HOST=localhost # May need to be changed to `DB_HOST=db` if using devcontainer POSTGRES_PORT=5432 POSTGRES_PASSWORD=postgres -POSTGRES_USER=postgres \ No newline at end of file +POSTGRES_USER=postgres + +RAILS_HOSTNAME= diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb index 95f2992..d74bcb9 100644 --- a/app/controllers/home_controller.rb +++ b/app/controllers/home_controller.rb @@ -1,4 +1,5 @@ class HomeController < ApplicationController def index + @subtitle = "An opinionated and modern Ruby on Rails template with pragmatic defaults to start your next project 🚀" end end diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index 8a49a0c..273ff42 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -2,7 +2,7 @@

Shore

-

An opinionated template with pragmatic defaults to start your Ruby on Rails project 🚀

+

<%= @subtitle %>

Stimulus says, Stimulus not loaded 😥