From 4b06c79c2f976734e6198390c76bbfe755130319 Mon Sep 17 00:00:00 2001 From: Bastian Greshake Date: Fri, 16 Jun 2017 09:33:24 +0200 Subject: [PATCH] Send message to user from their page now works (#404) --- app/views/users/_user_is_not_user.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/users/_user_is_not_user.html.erb b/app/views/users/_user_is_not_user.html.erb index 5af7c4c..102ced4 100644 --- a/app/views/users/_user_is_not_user.html.erb +++ b/app/views/users/_user_is_not_user.html.erb @@ -13,7 +13,7 @@ <% if @user.description != nil %>

<%= @user.description %>

<% end %> - <%= link_to("Send "+ @first_name + " a message", {:controller => "messages", :action => "new"}, :user_to_send => @user.id, class: "btn btn-primary userpage__new-messages") %> + <%= link_to("Send "+ @first_name + " a message", {:controller => "messages", :action => "new", :user_to_send => @user.id}, class: "btn btn-primary userpage__new-messages") %> <%if current_user%>