app/views/phcpress/news/posts/_form.html.erb in phcpress-0.10.8 vs app/views/phcpress/news/posts/_form.html.erb in phcpress-0.11.0
- old
+ new
@@ -22,10 +22,10 @@
<div class="panel-body">
<div class="form-group">
<label><%= f.label :pstimage, "Featured Image" %></label>
<%= f.file_field :pstimage, class: "form-control" %>
</div>
- <%= image_tag(@news_post.pstimage, class: "img-responsive img-thumbnail") %>
+ <%= image_tag(@news_post.pstimage_url, class: "img-responsive img-thumbnail") %>
</div>
</div>
</div>
<div class="col-md-9 ">
<div class="panel panel-default">