From 6aec34f42e543724ef15674c87a9cf7d81a021f9 Mon Sep 17 00:00:00 2001 From: "Jesse C. Fisher" Date: Wed, 7 Jul 2021 23:00:21 -0700 Subject: [PATCH] Fix link route name --- app/views/games/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/games/show.html.haml b/app/views/games/show.html.haml index 12cd3858..59dda3ce 100644 --- a/app/views/games/show.html.haml +++ b/app/views/games/show.html.haml @@ -10,7 +10,7 @@ = @game.title - if @game.can_accomodate(current_user) - = link_to 'Join', game_join_path(@game) + = link_to 'Join', join_game_path(@game) - if @game.startable? && @game.already_has?(current_user) = link_to 'Start', start_game_path(@game)