From 1bf6e9fdd7c55d276738c09a0de6943ba8b52afb Mon Sep 17 00:00:00 2001
From: David Gay
Date: Thu, 2 Nov 2023 17:41:54 -0400
Subject: Link to start a run
---
app/views/runs/index.html.erb | 2 ++
app/views/users/show.html.erb | 2 ++
2 files changed, 4 insertions(+)
(limited to 'app/views')
diff --git a/app/views/runs/index.html.erb b/app/views/runs/index.html.erb
index 3b152c7..9f01859 100644
--- a/app/views/runs/index.html.erb
+++ b/app/views/runs/index.html.erb
@@ -9,6 +9,8 @@
the save file and then another player can checkout the save file. In this way, multiple players can take
turns playing the same run!
+ <%= link_to "Start a run", new_run_path %>
+
List of runs
diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb
index 34308b1..f0335eb 100644
--- a/app/views/users/show.html.erb
+++ b/app/views/users/show.html.erb
@@ -15,6 +15,8 @@
<%= pluralize(@user.runs.count, "run") %>
+ <%= link_to "Start a run", new_run_path %>
+
<% @user.runs.each do |run| %>
- <%= run.game.title %> - <%= link_to run.title, run_path(run) %>
--
cgit v1.2.3