Added messaging feature
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
<% 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