lib/hyde/partial.rb in hydeweb-0.0.4 vs lib/hyde/partial.rb in hydeweb-0.0.5
- old
+ new
@@ -1,7 +1,7 @@
module Hyde
class Partial < Layout
- def self.create(path, project, page_class = Partial)
- super path, project, page_class
+ def self.get_filename(path, project)
+ project.root(:partials, path)
end
end
end