Sign-up Notification Email and Activation Link

25 views
Skip to first unread message

Bobby

unread,
Aug 2, 2011, 1:22:35 AM8/2/11
to EngineY
After much trial and error, I have finally successfully deployed the
app to Heroku! When I sign up as a new user however, I receive the
message as specified by the code in signup_notification.html.erb (see
below) but there is no activation link to click on. How would I go
about fixing this?

I am excited to see where things go from here.


from signup_notification.html.erb:

Your account has been created.

Username: <%= @user.login %>
Password: <%= @user.password %>

Visit this url to activate your account:

<%= @url %>

Bobby

unread,
Aug 12, 2011, 12:56:54 AM8/12/11
to EngineY
To get things going, I added this line of code in
signup_notification.html.erb:

<%= link_to "http://your_app_name_here.com/activate?
activation_code=#{@user.activation_code}", "http://
your_app_name_here.com/activate?
activation_code=#{@user.activation_code}" %>

Reply all
Reply to author
Forward
0 new messages