Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9177759
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T17:23:55+00:00 2026-06-17T17:23:55+00:00

Possible Duplicate: Accessing controllers from other controllers In Ember pre2 and before with the

  • 0

Possible Duplicate:
Accessing controllers from other controllers

In Ember pre2 and before with the old Router style, you could get other controllers from the router, so if I were in a controller called PeopleController I could do something like this

App.PeopleController = Ember.Controller.extend({
     some_computed_property: (function() {
          return this.get('target.otherController.property_i_want');
     }).property('target.otherController.property_i_want')
});

or from a debug console

> App.router.get('otherController.property_i_want')

Both of these worked. Pre4 / the new routing style seems to break this. How do I get this functionality with the new router and pre4?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T17:23:56+00:00Added an answer on June 17, 2026 at 5:23 pm

    Try this.controllerFor('other').get('property_i_want')

    See last part of http://emberjs.com/guides/routing/setting-up-a-controller/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: get current latitude and longitude from gps enabled device I use the
Possible Duplicate: Accessing JSON service from localhost or file:// <script src=http://code.jquery.com/jquery-1.8.3.min.js></script> <script> $.getJSON('http://game4u.comuf.com/songs.json', function(data)
Possible Duplicate: Accessing scala.None from Java In Java you can create an instance of
Possible Duplicate: Get list of all input objects using JavaScript, without accessing a form
Possible Duplicate: accessing controls on parentform from childform I have parent form form1 and
Possible Duplicate: Accessing inherited variable from templated parent class There's this class: template<typename T>
Possible Duplicate: Accessing inherited variable from templated parent class I have been implementing a
Possible Duplicate: Accessing @attribute from SimpleXML I am using a few third party APIs
Possible Duplicate: How to get null instead of the KeyNotFoundException accessing Dictionary value by
Possible Duplicate: Variable doesn’t get returned from AJAX function I have this function: function

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.