DEV Community

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

Posted on

1

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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs