views:

19

answers:

0

Hey everybody!

What I'm trying to do:

I create some controllers, for example:

  • Home
  • About
  • Gallery
  • Contact

Now I want to create a navigation automatically. So is there a way to programmatically fetch the list of controllers/actions to build this navigation?

I don't want to fix the navigation everytime I add a controller.