i've got a navigation system coming from a database, table is
id, name, parent_id

menu is working fine, the only problem i'm having now is how to get the controller and action name into the link_to function.

would i just create two columns, controller and action?