changing some paths
This commit is contained in:
parent
b0c082fbea
commit
2a75bf7464
2 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
<section class="membershow">
|
<section class="membershow">
|
||||||
<%= link_to 'Back', members_path %> <% if current_user %> |
|
<a href="/">Back</a> <% if current_user %> |
|
||||||
<%= link_to 'Edit', edit_member_path(@member) %> | <%= link_to "Create blog", new_member_blog_path(@member) %>
|
<%= link_to 'Edit', edit_member_path(@member) %> | <%= link_to "Create blog", new_member_blog_path(@member) %>
|
||||||
<% end %><br>
|
<% end %><br>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<%= link_to 'Back', member_blog_posts_path %><br>
|
<a href="/members/1">Back</a><br>
|
||||||
<%= image_tag @post.icon_image if @post.icon_image.attached? %>
|
<%= image_tag @post.icon_image if @post.icon_image.attached? %>
|
||||||
<section class="inner"><p>
|
<section class="inner"><p>
|
||||||
<strong>Post Title:</strong>
|
<strong>Title:</strong>
|
||||||
<%= @post.post_title %>
|
<%= @post.post_title %>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue