Sha256: d7c5299365a626554d2aa07630737a5b07f490263f4e7b22392df41c4c42b4a7

Contents?: true

Size: 504 Bytes

Versions: 7

Compression:

Stored size: 504 Bytes

Contents

= DynamicMenus

This project rocks and uses MIT-LICENSE.

= Installation

 gem install dynamic_menus

Alter "roubes.rb" to include this in the top within the draw:

 DynamicMenus.setup(routes: self)

Create a migration like this:

 class CreateDynamicMenu < ActiveRecord::Migration
   def up
     DynamicMenus.create_tables
   end
   
   def down
     DynamicMenus.drop_tables
   end
 end

Run db:migrate with this command:

 rake db:migrate

Set up your menus by going to:

 localhost:3000/dynamic_menus

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
dynamic_menus-0.0.8 README.rdoc
dynamic_menus-0.0.7 README.rdoc
dynamic_menus-0.0.6 README.rdoc
dynamic_menus-0.0.5 README.rdoc
dynamic_menus-0.0.4 README.rdoc
dynamic_menus-0.0.3 README.rdoc
dynamic_menus-0.0.2 README.rdoc