Moved messages index link to users/show.html.erb, added 'message this user' button
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
<% title "News" %>
|
||||
<% if current_user %>
|
||||
<%= link_to "Private Messages (#{Message.where(user_target: current_user).count})", messages_path, class: "btn right blue" %>
|
||||
<% end %>
|
||||
<h1>News</h1>
|
||||
<%= link_to 'Make new Post', new_blogpost_path, class: "btn blue" if mod? %>
|
||||
<div id="posts">
|
||||
|
||||
Reference in New Issue
Block a user