resource views and resource content type