rewviews controller