add minus.com source redirection
always points to the landing page regardless of the url if thumbnail or full size
This commit is contained in:
@@ -377,6 +377,9 @@ class Post < ActiveRecord::Base
|
||||
base_url = $1
|
||||
entry_no = $2
|
||||
"#{base_url}/diarypro/diary.cgi?no=#{entry_no}"
|
||||
|
||||
when %r{\Ahttp://i(?:\d)?\.minus\.com/(?:i|j)([^\.]{12,})}i
|
||||
"http://minus.com/i/#{$1}"
|
||||
|
||||
else
|
||||
source
|
||||
|
||||
Reference in New Issue
Block a user