lib/caboodle/kit.rb in caboodle-0.1.5 vs lib/caboodle/kit.rb in caboodle-0.1.6

- old
+ new

@@ -124,10 +124,10 @@ Caboodle::Kits.each { |p| p.start } end def menu display, path, &block path = "/" if Site.home_kit == self.to_s.gsub("Caboodle::","") - Caboodle::MenuItems << {:display=>display, :link=>path} + Caboodle::MenuItems << {:display=>display, :link=>path, :kit=>self} self.get path, &block end def required keys if keys.class == Array \ No newline at end of file