fix peoples#aspect_membership_dropdown
This commit is contained in:
parent
7e84747a52
commit
9304db68f1
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ class PeopleController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def aspect_membership_dropdown
|
def aspect_membership_dropdown
|
||||||
@person = Person.find(params[:id])
|
@person = Person.find(params[:person_id])
|
||||||
@contact = current_user.contact_for(@person) || Contact.new
|
@contact = current_user.contact_for(@person) || Contact.new
|
||||||
render :partial => 'aspect_memberships/aspect_dropdown', :locals => {:contact => @contact, :person => @person, :hang => 'left'}
|
render :partial => 'aspect_memberships/aspect_dropdown', :locals => {:contact => @contact, :person => @person, :hang => 'left'}
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue