lib/octopress-ink/assets/page.rb in octopress-ink-1.0.0.alpha.30 vs lib/octopress-ink/assets/page.rb in octopress-ink-1.0.0.alpha.31
- old
+ new
@@ -29,10 +29,10 @@
# Add page to Jekyll pages if no other page has a conflicting destination
#
def copy
return unless page.url
- Plugins.site.pages << @page unless Helpers::Path.find_page(@page)
+ Plugins.site.pages << page unless Helpers::Path.find_page(page)
end
end
end
end