Permalink
Browse files

fix duplicate/missing '/'

  • Loading branch information...
1 parent db06bef commit 63b9c6fa7f450e89d6e205cc0e6f6353e9d5f8b6 cloudhead committed Apr 11, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/toto.rb
View
@@ -265,7 +265,7 @@ def body
end
def path
- @config[:prefix] + self[:date].strftime("/%Y/%m/%d/#{slug}/")
+ "/#{@config[:prefix]}#{self[:date].strftime("/%Y/%m/%d/#{slug}/")}".squeeze('/')
end
def title() self[:title] || "an article" end

0 comments on commit 63b9c6f

Please sign in to comment.