Added url method to View