Forum: Ruby on Rails simple-navigation items from database

3664b4c25eefa92ae1e423092904062f?d=identicon&s=25 Scott Hiscock (muflix)
on 2013-07-04 15:59
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/Dyn...
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 :-)
Aa082c8b00a50928e5860dcd70bf2368?d=identicon&s=25 tamouse m. (tamouse_m)
on 2013-07-05 03:14
(Received via mailing list)
On Jul 4, 2013, at 8:59 AM, Scott Hiscock <lists@ruby-forum.com> wrote:

>
> Posted via http://www.ruby-forum.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.
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.