DEV Community

loading...
Cover image for How can i create a dynamic menu

How can i create a dynamic menu

ehsanatwork profile image SMEHSAN ・1 min read

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

Discussion (0)

Forem Open with the Forem app