Already exists:

users_controller#282: resend_activation



On Tue, Sep 30, 2008 at 6:56 AM, ashchan <[EMAIL PROTECTED]> wrote:

>
> Add a method to User:
>
> def re_activate
>  self.make_activation_code
>  UserNotifier.deliver_signup_notification(self)
> end
>
> Call it from a controller or somewhere.
>
> I guess this should work. (you might also want to set activated_at of
> User to nil)
>
> James Chan
> Freelance Rails Developer
> http://blog.ashchan.com
>
> On Sep 30, 10:15 am, Bryan Kearney <[EMAIL PROTECTED]> wrote:
> > Just checking.. is there currently a way in the app to resend an
> > activation email? Somethign akin to a fogotten password whcih the admin
> > can use (or a rake task).
> >
> > -- bk
> >
>

--~--~---------~--~----~------------~-------~--~----~
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