Pass the view as an argument to the block.