DEV Community

Cover image for How can i create a dynamic menu
SMEHSAN
SMEHSAN

Posted on

How can i create a dynamic menu

Hello
I am trying to build a Blog CMS with ruby on rails 6. SO I have created Post, Pages and Categories with a back end admin panel.
Now i want to add a menu from the back end. where i create a menu and in that menu there might be a page with link, post with link and category with link. each one of them is going to be a menu item so that i can view those item in the front end as a link.
Can any one please tell me, how can i do this?
Thank you

Top comments (0)