search for: manager_view

Displaying 1 result from an estimated 1 matches for "manager_view".

2006 Dec 28
2
STI, controllers and views
...e able to shunt the data between the models and the views. Second question. Say I have a view that shows a list of all people in the db. It shows first name, last name, and a ''show'' link to view that persons details. For each type I would like to show a specific view, i.e. the manager_view, the employee_view etc. If I have a single controller with a show action and I pass it the person as a parameter how do I get the controller to show the correct view? Thank you, Ryan Glover -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You rec...