app/views/admin/posts/show.html.erb in blog_logic-1.3.0 vs app/views/admin/posts/show.html.erb in blog_logic-1.3.1

- old
+ new

@@ -4,11 +4,11 @@ <%= legend_tag 'About This Post' -%> <div class="form_column"> <%= faux_field 'Title', @post.title -%> <%= faux_field 'Short Title', @post.title_short -%> - <%= faux_field 'URL', @post.full_path -%> + <%= faux_field 'URL', @post.path -%> </div> <div class="form_column"> <%= faux_field 'Publication Date', @post.publication_date.try(:to_s, :concise) -%> <%= faux_field 'Status', @post.status -%> </div> @@ -25,10 +25,10 @@ </fieldset> <fieldset class="form_container"> <%= legend_tag 'Content' -%> <%- if @post.state == 'published' -%> - <iframe src="<%= @post.full_path -%>" width="100%" height="400" style="background-color: #FFF"></iframe> + <iframe src="<%= @post.path -%>" width="100%" height="400" style="background-color: #FFF"></iframe> <%- else -%> <div style="background-color: #FFF; padding: 1em"> <%= @post.content.html_safe -%> </div> <%- end -%> \ No newline at end of file