pass content type to 'erb'.