Skip to content

Commit

Permalink
Update stock exchange link in show page view
Browse files Browse the repository at this point in the history
  • Loading branch information
Shpigford committed Nov 20, 2024
1 parent 4d40419 commit 4d50118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/stocks/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<img src="https://logo.synthfinance.com/ticker/<%= @stock.symbol %>" alt="<%= @stock.symbol %>" class="w-10 h-10 rounded-full">
<h1 class="text-2xl font-medium text-black"><%= @stock.name %> <span class="font-normal text-gray-500 font-mono"><%= @stock.symbol %></span></h1>
<div class="flex items-center gap-x-1 text-sm text-gray-500">
<%= @stock.mic_code %>
<%= link_to @stock.mic_code, stock_exchange_path(@stock.exchange), class: "hover:text-gray-700" %>
<img src="https://hatscripts.github.io/circle-flags/flags/<%= @stock.country_code.downcase %>.svg"
alt="<%= @stock.country_code %>"
class="w-4 h-4 rounded-full">
Expand Down

0 comments on commit 4d50118

Please sign in to comment.