Skip to content

Commit

Permalink
fix duplicate/missing '/'
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudhead committed Apr 11, 2010
1 parent db06bef commit 63b9c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/toto.rb
Expand Up @@ -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
Expand Down

0 comments on commit 63b9c6f

Please sign in to comment.