lib/orthor/site.rb in orthorings-0.1.5 vs lib/orthor/site.rb in orthorings-0.2.0

- old
+ new

@@ -6,11 +6,11 @@ include Orthor::MetaData dsl_accessor :layout def define(&block) - @feeds, @categories, @pages, @static_pages = [], [], [], [] + @feeds, @categories, @pages, @static_pages, @queries = [], [], [], [], [] layout(:orthor_layout) cache_for 0 keywords "" description "" @@ -24,6 +24,6 @@ def find_resource_by_page_path(path, id) Orthor::Site.resources.detect { |r| r.is_a?(Orthor::Category) && r.page_path.gsub(":id", id) == path } end end end -end \ No newline at end of file +end