simple-navigation items from database

72 views
Skip to first unread message

Scott Hiscock

unread,
Jul 4, 2013, 9:59:25 AM7/4/13
to rubyonra...@googlegroups.com
Hello, i would like to ask how can i generate menu items from database
using simple-navigation ? i was looking in documentation
https://github.com/andi/simple-navigation/wiki/Dynamic-Navigation-Items
but i dont get it.

i have default config/navigation.rb

SimpleNavigation::Configuration.run do |navigation|
...
end

and i have database

categories
id
category_id
name

how can i generate a menu ? thank you :-)

--
Posted via http://www.ruby-forum.com/.

Tamara Temple

unread,
Jul 4, 2013, 9:12:33 PM7/4/13
to rubyonra...@googlegroups.com
There is a group for simple-navigation:

Discussion Group for Feedback and Questions
  http://groups.google.com/group/simple-navigation

Maybe direct your question there if you don't get any responses here.

Reply all
Reply to author
Forward
0 new messages