title: How to get current url (including the part after hash) with Ember
body: <p>I need to get current url from Ember as a "redirectTo" parameter. The parameter will be used to redirect users back to the same page after they login from other app. The url looks like</p>
  
  <pre><code>http://test.com/apps/#/tables/7
  </code></pre>
  
  <p>I've found <a href="https://stackoverflow.com/questions/15019212/ember-app-router-router-currentstate-undefined/15020704#15020704">this post</a> to get currentPath/route from the application. It provides the current route name but I wonder how I can get the complete path including id from Ember. I have a nested route declaration looks like below.</p>
  
  <pre><code>App.Router.map(function() {
    this.resource('tables', function() {
      this.resource('table', { path: ':table_id' });
    });
  });
  </code></pre>
  
  <p>Any suggestion is welcome. Thanks!</p>