Views hook for the Sails framework.