How to generate a link like link_to on mailer?

I used rails mailer to send a email to my client, but soon I found I
can’t use link_to on mailer.
the effect I want is like this.
great

so, any thought here?

On Aug 24, 9:36 pm, Zhenning G. [email protected]
wrote:

I used rails mailer to send a email to my client, but soon I found I
can’t use link_to on mailer.
the effect I want is like this.
great

so, any thought here?

From
http://guide.rails.info/action_mailer_basics.html#using-action-mailer-helpers
helper_method :link_to def link_to(name, options)

Regards,
Jason S.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs