title: create a link_to in controller
body: <p>I need to pass a notice to a view from controller, and I want if can to create some link also to the notice.</p>
  
  <p>My controller:</p>
  
  <pre><code>format.html { redirect_to purchase_order_headers_path, notice: 'PO already has RR with RR ID: ' + rr.rr_id + ', void RR first.' }
  </code></pre>
  
  <p>Is there any way so I can do it so the <code>[rr.rr_id]</code> will become a link so when the user click on it will go to it's page? Since <code>link_to</code> will return error <code>"undefined method"</code> if put on controller.</p>
  
  <p>Thanks.</p>