resolve undefined method poster_url? for nil:NilClass