title: Can computed properties be used in routing dynamic segment?
body: <p>I need to use two computed properties in the url of my app, but when make the transition they say undefined.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>App.PostController = Ember.ObjectController.extend({
      updated_at: null,
      year: function() {            
          var updated_at = this.get('updated_at');
          return moment(updated_at).format('YYYY');
      }.property().cacheable(),
      month: function() {
          var updated_at = this.get('updated_at');
          return moment(updated_at).format('MM');
      }.property().cacheable()
  });
  
  App.Router = Ember.Router.extend({
      location: 'history',
      //enableLogging: true,
      root: Ember.Route.extend({
          showPosts: Ember.State.transitionTo('posts'),
          posts: Ember.Route.extend({
              route: '/',
              posts: Ember.Route.extend({
                  route: '/',
                  showPost: Ember.State.transitionTo('post'),
                  connectOutlets: function(router) {
                      router.get('applicationController').connectOutlet('posts');
                  }
              }),
              post: Ember.Route.extend({
                  route: '/:year/:month/:slug',
                  connectOutlets: function(router, post) {
                      router.get('applicationController').connectOutlet('post', post);
                  }
              })
          })
      })
  });
  </code></pre>
  
  <p>When a click to a post, the url look like this: <code>/undefined/undefined/this-is-a-slug</code></p>
  
  <p>This can be done?, If not, you can achieve otherwise?.</p>
  
  <p>Thanks.</p>