Permalink
Browse files

Merge pull request #51 from Sharpie/patch-1

Add `file` tag for Mustache layouts
  • Loading branch information...
2 parents a175735 + 4f81074 commit dde147a17112d4cda9b89c5acda116c696afdbbe @mikewest mikewest committed Jun 12, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/rocco/layout.rb
View
@@ -15,6 +15,10 @@ def title
File.basename(@doc.file)
end
+ def file
+ @doc.file
+ end
+
def sections
num = 0
@doc.sections.map do |docs,code|

0 comments on commit dde147a

Please sign in to comment.