title: Symfony2 Route prefix querystring dynamic
body: <p>My symfony2 project is setup with normal YAML routes to any normal project.</p>
  
  <p>Routes are setup with annotation and final URLs are</p>
  
  <pre><code>http://examplecom/artices/{id}
  
  http://example.com/comments/{id}
  </code></pre>
  
  <p>I want to add prefix querystring to all the path, only if there is querystring called <code>preview</code></p>
  
  <p>So If I access <code>http://example.com/?preview=something</code> - I want this querystring to append to all the routes, so it continue to pass on every page and if this does not exist, then it will continue to be used as normally.</p>
  
  <p>How can I accomplish this?</p>