From caaf77c52dc7969ccc3287416d38ea0c1c5b13d3 Mon Sep 17 00:00:00 2001 From: Alex Legler Date: Mon, 5 Dec 2016 17:29:21 +0100 Subject: Remove GMANE link as their web interface is no more --- lib/helpers.rb | 7 +------ views/message.erb | 3 +-- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/lib/helpers.rb b/lib/helpers.rb index 3ed4f51..8e58417 100644 --- a/lib/helpers.rb +++ b/lib/helpers.rb @@ -1,8 +1,7 @@ require 'rinku' require 'erb' -GMANE_FIND = 'http://news.gmane.org/find-root.php?message_id=' -MARC_FIND = 'https://marc.info/?i=' +MARC_FIND = 'https://marc.info/?i='.freeze helpers do def list_check @@ -75,10 +74,6 @@ helpers do Rinku.auto_link(str, :urls, 'rel="nofollow"') end - def msgid_to_gmane(msgid) - GMANE_FIND + ERB::Util.url_encode(msgid) - end - def msgid_to_marc(msgid) # We have to transform the msg-id first # CAK86ViRgefgrb0qUyjQdYa+6C5BTiNvn8UKZwQsMvcJmY-L0mg@mail.gmail.com diff --git a/views/message.erb b/views/message.erb index ee700fd..f26445d 100644 --- a/views/message.erb +++ b/views/message.erb @@ -82,7 +82,6 @@
Report Message -
\ No newline at end of file + -- cgit v1.2.3-65-gdbad