lib/hyde/partial.rb in hydeweb-0.0.8.pre2 vs lib/hyde/partial.rb in hydeweb-0.1.0
- old
+ new
@@ -1,7 +1,12 @@
-module Hyde
- class Partial < Layout
- def self.get_filename(path, project)
- project.root(:partials, path)
- end
+class Hyde
+class Partial < Layout
+protected
+ def self.root_path(project, *a)
+ project.path(:partials, *a)
end
+
+ def default_layout
+ nil
+ end
+end
end