Refatorando controllers e views