From 61118ddb20e33defa9f199c9bafc55be4c24bb1b Mon Sep 17 00:00:00 2001 From: skrappe12-berk Date: Thu, 17 Oct 2024 00:06:52 +0000 Subject: [PATCH 1/2] Added text in home.html.erb --- .replit | 7 +++---- app/views/pages/home.html.erb | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.replit b/.replit index 3b37d96..46d2456 100644 --- a/.replit +++ b/.replit @@ -1,7 +1,6 @@ -run = "RAILS_ENV=development bundle exec rails server --binding=0.0.0.0" +run = "bundle exec rails server --binding=0.0.0.0" hidden = [".bundle"] -entrypoint = "app/controllers/application_controller.rb" -modules = ["ruby-3.2"] +modules = ["ruby-3.2", "web", "nodejs-20", "nix"] [env] RACK_MINI_PROFILER = "off" @@ -15,7 +14,7 @@ requiredFiles = [".replit", "replit.nix"] [deployment] -run = "RAILS_ENV=production bundle exec rails server --binding=0.0.0.0" +run = ["sh", "-c", "bundle exec rails server --binding=0.0.0.0"] deploymentTarget = "gce" [[ports]] diff --git a/app/views/pages/home.html.erb b/app/views/pages/home.html.erb index 68c16cc..e30b137 100644 --- a/app/views/pages/home.html.erb +++ b/app/views/pages/home.html.erb @@ -1,5 +1,5 @@

Welcome to the Jitter Homepage

-

Use a specific URL to get to the features you are looking for.

+

Use a specific URL to get to the features you are looking for. This is the best app you have ever used.

Go to the Jits \ No newline at end of file From be01956e6da44389339fc9c05f3fa9f95e65bd77 Mon Sep 17 00:00:00 2001 From: skrappe12-berk Date: Thu, 17 Oct 2024 00:19:20 +0000 Subject: [PATCH 2/2] uppercase the jit text --- app/views/jits/_jit.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/jits/_jit.html.erb b/app/views/jits/_jit.html.erb index f8ec228..eaa3cb2 100644 --- a/app/views/jits/_jit.html.erb +++ b/app/views/jits/_jit.html.erb @@ -1,7 +1,7 @@

Content: - <%= jit.content %> + <%= jit.content.upcase %>