Code cleanup
re #173 : Pass the real view name to the controller.
Re-commit lost change. -> Fixed issue where setting the controller name might break. Example ticket_type get converted to tickettype