From 31c7abd2e9f2121adc2d7d54f9d383e2ecf790f9 Mon Sep 17 00:00:00 2001 From: evazion Date: Tue, 12 May 2020 16:13:55 -0500 Subject: [PATCH] footer: fix social icon links. Image links were broken on pages like /artists/new because the links were relative to the current page url, not to the root url. --- app/views/static/_footer.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/static/_footer.html.erb b/app/views/static/_footer.html.erb index d8b75bf17..2c733bbad 100644 --- a/app/views/static/_footer.html.erb +++ b/app/views/static/_footer.html.erb @@ -6,17 +6,17 @@ <% if Danbooru.config.source_code_url.present? %> <%= link_to Danbooru.config.source_code_url, title: "Running commit: #{Rails.application.config.x.git_hash.first(9)}", class: "social-icon" do %> - + <% end %> <% end %> <% if Danbooru.config.twitter_username.present? %> <%= link_to "https://twitter.com/#{Danbooru.config.twitter_username}", class: "social-icon" do %> - + <% end %> <% end %> <% if Danbooru.config.discord_server_url.present? %> <%= link_to Danbooru.config.discord_server_url, class: "social-icon" do %> - + <% end %> <% end %>