lib/lookbook/page.rb in lookbook-1.0.0.beta.1 vs lib/lookbook/page.rb in lookbook-1.0.0.beta.2
- old
+ new
@@ -28,10 +28,10 @@
page_path = rel_path.dirname.to_s == "." ? @page_name : "#{rel_path.dirname}/#{@page_name}"
super(page_path)
end
def url_path
- page_path lookup_path
+ lookbook_page_path lookup_path
end
def full_path
Rails.root.join(@pathname.to_s)
end