title: How to use auto_link inside of a controller
body: <p>In my controller I need to build a JSON object. How can I use auto_link() inside my controller? Right now it errors:</p>
  
  <pre><code>NoMethodError (undefined method `mail_to' for #&lt;ConversationsController:0x144c3f880&gt;):
    app/helpers/application_helper.rb:48:in `html_format'
    app/controllers/conversations_controller.rb:326:in `comments'
    app/controllers/conversations_controller.rb:322:in `comments'
  </code></pre>
  
  <p>Thank you for any ideas</p>