Sha256: 904eee275c6d0e615f645e947c7ce41e03359cfed2a0f52a6b1d48ae874a7055

Contents?: true

Size: 305 Bytes

Versions: 20

Compression:

Stored size: 305 Bytes

Contents

module Enjoy
  if Enjoy.active_record?
    class Menu < ActiveRecord::Base
    end
  end

  class Menu
    include Enjoy::Models::Menu

    include Enjoy::Decorators::Menu

    rails_admin(&Enjoy::Admin::Menu.config(rails_admin_add_fields) { |config|
      rails_admin_add_config(config)
    })
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
enjoy_cms-0.3.7.4 app/models/enjoy/menu.rb
enjoy_cms-0.3.7.3 app/models/enjoy/menu.rb
enjoy_cms-0.3.7.2 app/models/enjoy/menu.rb
enjoy_cms-0.3.7.1 app/models/enjoy/menu.rb
enjoy_cms-0.3.7 app/models/enjoy/menu.rb
enjoy_cms-0.3.6.2 app/models/enjoy/menu.rb
enjoy_cms-0.3.6.1 app/models/enjoy/menu.rb
enjoy_cms-0.3.6 app/models/enjoy/menu.rb
enjoy_cms-0.3.5 app/models/enjoy/menu.rb
enjoy_cms-0.3.4 app/models/enjoy/menu.rb
enjoy_cms-0.3.3 app/models/enjoy/menu.rb
enjoy_cms-0.3.2.1 app/models/enjoy/menu.rb
enjoy_cms-0.3.2 app/models/enjoy/menu.rb
enjoy_cms-0.3.1.2 app/models/enjoy/menu.rb
enjoy_cms-0.3.1.1 app/models/enjoy/menu.rb
enjoy_cms-0.3.1 app/models/enjoy/menu.rb
enjoy_cms-0.3.0.4 app/models/enjoy/menu.rb
enjoy_cms-0.3.0.3 app/models/enjoy/menu.rb
enjoy_cms-0.3.0.2 app/models/enjoy/menu.rb
enjoy_cms-0.2.1 app/models/enjoy/menu.rb