From 4d501189f577e309c72cfd53776962165bd3a3c7 Mon Sep 17 00:00:00 2001 From: Josh Pigford Date: Wed, 20 Nov 2024 14:06:30 -0600 Subject: [PATCH] Update stock exchange link in show page view --- app/views/stocks/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/stocks/show.html.erb b/app/views/stocks/show.html.erb index c69cb71..ff05fbd 100644 --- a/app/views/stocks/show.html.erb +++ b/app/views/stocks/show.html.erb @@ -13,7 +13,7 @@ <%= @stock.symbol %>

<%= @stock.name %> <%= @stock.symbol %>

- <%= @stock.mic_code %> + <%= link_to @stock.mic_code, stock_exchange_path(@stock.exchange), class: "hover:text-gray-700" %> <%= @stock.country_code %>