show only invites from a user

This commit is contained in:
Maxwell Salzberg 2011-08-19 13:58:22 -07:00
parent fe78a69161
commit 3cee589397

View file

@ -1,5 +1,4 @@
<% @invites = Invitation.includes(:sender =>{:person => :profile}).where(:admin => false)%>
<% @invites = @resource.invitations_to_me.includes(:sender =>{:person => :profile}).where(:admin => false)%>
<head>
<title><%=invite_email_title %></title>
</head>