diff options
author | MrYummy <elemental428@gmail.com> | 2017-06-17 17:22:58 +0200 |
---|---|---|
committer | MrYummy <elemental428@gmail.com> | 2017-06-17 17:22:58 +0200 |
commit | 8bf5164301761775c8ff47467b4f6f30f324d632 (patch) | |
tree | 3a28436c5a3975c561961a9ed1aeb35ab740303d /app/views/messages/index.html.erb | |
parent | 6a0eedc58541e9cf73f25ceef535ff7defde210c (diff) |
just making this so I don't lose work when I switch branchespm
Diffstat (limited to 'app/views/messages/index.html.erb')
-rw-r--r-- | app/views/messages/index.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/messages/index.html.erb b/app/views/messages/index.html.erb index 2cc3df8..644d4ad 100644 --- a/app/views/messages/index.html.erb +++ b/app/views/messages/index.html.erb @@ -1,7 +1,7 @@ <% if @messages.any? %> - <%= link_to "Delete all messages", destroy_all_messages_path, method: "post", class: "btn blue right", data: {confirm: "Delete all of your messages forever?"} %> + <%= link_to "delete all messages", destroy_all_messages_path, method: "post", class: "btn blue right", data: {confirm: "Delete all of your messages forever?"} %> <% end %> -<%= link_to "Create new message", new_message_path, class: "btn blue right" %> +<%= link_to "create new message", new_message_path, class: "btn blue right" %> <br> <h2> <% if Message.where("(user_target_id = ? OR user_sender_id = ?) AND user_hidden_id != ?", current_user.id, current_user.id, current_user.id).any? %> |