Registering controllers and actions in a table

I want to put the controllers and actions of my application in a table so I can make associations between actions a user takes and the controller and action that was involved.

How can I populate a table during migration with the controllers and actions of my application?

Jose

Jose Hales-Garcia

UCLA Department of Statistics

jose@stat.ucla.edu

Jose Hales-Garcia wrote:

I want to put the controllers and actions of my application in a table so I can make associations between actions a user takes and the controller and action that was involved.

How can I populate a table during migration with the controllers and actions of my application?

Jose

The LoginEngine has some code to do this, I also use that code which I describe at the end of this blog article, it is a method which populates a table with the actions...

check out Wolfmans Howlings look at the end for the code for the subtitle Automatically adding Rights, you want the code described their.