Permalink
Browse files

made 1 mistake in previous commit

  • Loading branch information...
1 parent d21613f commit dcf09485eba4d0cce9fd49ef94f480f5be08a39f @strix3000 strix3000 committed Mar 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/messages_controller.rb
@@ -2,7 +2,7 @@ class MessagesController < ApplicationController
def create
@recipient = User.find(params[:id])
- @message = Message.new(:content => params[:content], :user => current_user, :recipient => @recipient)
+ @message = Message.new(:content => params[:content], :user => current_user)
@message.save
mes_recipient = MessageRecipient.new(:message => @message, :user => @recipient)
mes_recipient.save

0 comments on commit dcf0948

Please sign in to comment.