fix typo in statusmessage controller
This commit is contained in:
parent
44942036da
commit
772f69de2d
1 changed files with 1 additions and 1 deletions
|
|
@ -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 = []
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue