What URL are you hitting to test this? There are two places where
invitations can be created: InvitationsController#new and
UsersController#invite (actually these are probably redundant, but that's
another question).

So you could go to /invitations/new or /username/invite and hit two
different actions.

Thanks,
Bruno

On Thu, Oct 21, 2010 at 5:32 PM, pixel <[email protected]> wrote:

> Hey guys,
> I'm trying to include a default invite message when users go to invite
> their friends.
> I created app/controllers/invitations_controller.rb and created a new
> method in my new controller.
> Now if I try to set @invitation.message = "A default message" nothing
> happens.  I've restarted the server.  No dice.
> http://gist.github.com/639507
> I even tried to comment out the creation of the new invitation
> (#...@invitation = Invitation.new) to attempt to get an error message,
> low and behold, no error message.
>
> So I'm clearly not understanding how something works here.  Is desert
> loading my controller method AND the one defined in community engine?
> Is there some better way to accomplish what I'm trying to do?
>
> Cole
>
> --
> You received this message because you are subscribed to the Google Groups
> "CommunityEngine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<communityengine%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/communityengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CommunityEngine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/communityengine?hl=en.

Reply via email to