title: How to root to the current user's show view in Rails?
body: <p>How can I root to the current user's show view in a Rails app?</p>
  
  <p>I want to do something like</p>
  
  <pre><code>authenticated :user do
      root :to =&gt; "users#show"
  end
  </code></pre>
  
  <p>but how do I pass the current user's ID into this?</p>
  
  <p>Thanks</p>