Never assign variables, perform database queries, or access external services within views -- this assignment would be better located in your server file (or in the controller, if we were in Rails).