fixed

*Nikhil Goel* | Vanderbilt University, 2013 | Computer Engineering,
Economics**

LinkedIn <http://www.linkedin.com/in/ngoel1> |* ngoel36@gmail.com | ( (256)
503-9183 | NikhilGoel.me <http://nikhilgoel.me/>


On Sat, Jan 26, 2013 at 8:11 PM, Luke Steensen <notifications@github.com>wrote:

> In app/controllers/users_controller.rb:
>
> > @@ -37,6 +37,8 @@ def show
> >    def follow
> >      @user = User.find_by_id(params[:id])
> >      current_user.follow(@user)
> > +    #send email
> > +    UserMailer.follow_notification(current_user, @user).deliver if current_user.follow_notification?
>
> I would move this into an after_create callback in the Follow model.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/bitcast/bitcast/pull/129/files#r2785931>.
>
>