Re: simple-navigation items from database

Tamara Temple
Fri, 05 Jul 2013 01:12:33 -0000

On Jul 4, 2013, at 8:59 AM, Scott Hiscock
<lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:

> 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/.

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.

--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/3C69D09F-D824-4E9F-B016-B9762D8B750B%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.