modify viewhook generator to go along with rails convention refs #1411
fix typo refs #1411