fix typo in statusmessage controller

This commit is contained in:
Maxwell Salzberg 2011-09-29 14:06:36 -07:00
parent 44942036da
commit 772f69de2d

View file

@ -11,7 +11,7 @@ class StatusMessagesController < ApplicationController
# Called when a user clicks "Mention" on a profile page # Called when a user clicks "Mention" on a profile page
# @param person_id [Integer] The id of the person to be mentioned # @param person_id [Integer] The id of the person to be mentioned
def new def new
if params[:person_id] && @person = Person.where(params[:person_id]).first if params[:person_id] && @person = Person.where(:id => params[:person_id]).first
@aspect = :profile @aspect = :profile
@contact = current_user.contact_for(@person) @contact = current_user.contact_for(@person)
@aspects_with_person = [] @aspects_with_person = []