Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #51 from Sharpie/patch-1

Add `file` tag for Mustache layouts
  • Loading branch information...
commit dde147a17112d4cda9b89c5acda116c696afdbbe 2 parents a175735 + 4f81074
@mikewest mikewest authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/rocco/layout.rb
View
4 lib/rocco/layout.rb
@@ -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|
Please sign in to comment.
Something went wrong with that request. Please try again.