From e2b16ab16f2a40662bea2c7827ef9cbf1d0a71a5 Mon Sep 17 00:00:00 2001 From: Raphael Sofaer Date: Thu, 11 Aug 2011 17:10:49 -0700 Subject: [PATCH] Correct my own spelling mistake --- app/views/notifications/index.html.haml | 2 +- app/views/people/_relationship_action.haml | 2 +- app/views/people/aspect_membership_dropdown.haml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/notifications/index.html.haml b/app/views/notifications/index.html.haml index a09e5086d..88a098ab2 100644 --- a/app/views/notifications/index.html.haml +++ b/app/views/notifications/index.html.haml @@ -24,7 +24,7 @@ .stream_element{:data=>{:guid => note.id}, :class => "#{note.unread ? 'unread' : ''}"} - if note.type == "Notifications::StartedSharing" && contact = current_user.contact_for(note[:target]) .right - = aspect_memberhip_dropdown(contact, note[:target], 'left') + = aspect_membership_dropdown(contact, note[:target], 'left') %span.from = notification_message_for(note) diff --git a/app/views/people/_relationship_action.haml b/app/views/people/_relationship_action.haml index 610e97fa9..98119128c 100644 --- a/app/views/people/_relationship_action.haml +++ b/app/views/people/_relationship_action.haml @@ -1,6 +1,6 @@ - unless person == current_user.person - contact = current_user.contacts.find_by_person_id(person.id) - contact ||= Contact.new(:person => person) - = aspect_memberhip_dropdown(contact, person, 'left') + = aspect_membership_dropdown(contact, person, 'left') -else = t('people.person.thats_you') diff --git a/app/views/people/aspect_membership_dropdown.haml b/app/views/people/aspect_membership_dropdown.haml index c344095d1..778ca85bf 100644 --- a/app/views/people/aspect_membership_dropdown.haml +++ b/app/views/people/aspect_membership_dropdown.haml @@ -1 +1 @@ -= aspect_memberhip_dropdown(@contact, @person, 'left') += aspect_membership_dropdown(@contact, @person, 'left')