lib/zen/package/menus/lib/menus/model/menu.rb in zen-0.2.4.1 vs lib/zen/package/menus/lib/menus/model/menu.rb in zen-0.2.5

- old
+ new

@@ -1,9 +1,9 @@ #:nodoc: module Menus #:nodoc: - module Models + module Model ## # Model used for managing groups of menu items. This model uses the following # Sequel plugins: # # * sluggable @@ -13,10 +13,10 @@ # class Menu < Sequel::Model plugin :sluggable, :source => :name, :freeze => false # Define our relations - one_to_many :menu_items, :class => "Menus::Models::MenuItem" + one_to_many :menu_items, :class => "Menus::Model::MenuItem" ## # Specifies all validates rules used when creating or updating a menu. # A slug will be generated when a menu is first created but after that they are # required to ensure that they don't collide with existing slugs.