lib/caboodle/kits/history/views/history.haml in caboodle-0.2.12 vs lib/caboodle/kits/history/views/history.haml in caboodle-0.2.13

- old
+ new

@@ -1,9 +1,9 @@ - #todo - this should be a vcalendar #history.page %dl - - if Caboodle::Site.history_years.respond_to?(:sort) - - Caboodle::Site.history_years.sort.reverse.each do |year,items| + - if Caboodle::History.config.history_years.respond_to?(:sort) + - Caboodle::History.config.history_years.sort.reverse.each do |year,items| %dt.year{:class=>year} = year %dd %ul.history_items - if items.respond_to?(:each) \ No newline at end of file