lib/caboodle/kits/feed/feed.rb in caboodle-0.2.19 vs lib/caboodle/kits/feed/feed.rb in caboodle-0.2.20

- old
+ new

@@ -8,16 +8,17 @@ config_files ["feed.yml"] add_sass ["feed"] configure do - puts "Configure it" - puts Settings.feeds.inspect - Settings.feeds.each do |feed_name,feed_url| - menu feed_name do - @feed = FeedNormalizer::FeedNormalizer.parse open(feed_url) - @feed.clean! - haml :feed + if Settings.feeds + Settings.feeds.map{|q| q.first}.each do |feed_name,feed_url| + puts "menu #{feed_name}" + menu feed_name do + @feed = FeedNormalizer::FeedNormalizer.parse open(feed_url) + @feed.clean! + haml :feed + end end end end end end \ No newline at end of file