title: Get http referer URI from a view using twig
body: <p>I want to know in Twig from what URI the user came. For example:</p>
  
  <ol>
  <li>The user is on the page /en/terms-of-use ('app_default_terms')</li>
  <li>User clicks on login</li>
  <li><p>On the register page is a hidden input to send the user back from where he came <code>&lt;input type="hidden" name="_target_path" value="{{ get_uri_from_where_he_came() }}" /&gt;</code></p></li>
  <li><p>He submits the form and is sent back.</p></li>
  </ol>
  
  <p>My question is, what is the twig function for this?</p>