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">
|
||||
<%= 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) %>
|
||||
<% end %><br>
|
||||
<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? %>
|
||||
<section class="inner"><p>
|
||||
<strong>Post Title:</strong>
|
||||
<strong>Title:</strong>
|
||||
<%= @post.post_title %>
|
||||
</p>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue