lib/zine_brewer/templates/bookranking.rb in zine_brewer-1.5.0 vs lib/zine_brewer/templates/bookranking.rb in zine_brewer-1.6.0

- old
+ new

@@ -23,10 +23,11 @@ end def cover case File.dirname(src) when ".", "images" - "/static/images/article/■記事ID■/#{File.basename(src)}" + f = File.basename(l_src) + "/static/images/article/■記事ID■/#{/^\d+_/ =~ f ? f : '■記事ID■_' + f}" when "common" "/static/images/article/common/#{File.basename(src)}" else src end