changing some paths

This commit is contained in:
root 2026-01-11 04:03:29 +00:00
parent b0c082fbea
commit 2a75bf7464
2 changed files with 3 additions and 3 deletions

View file

@ -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>

View file

@ -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>