Created
October 7, 2014 01:08
-
-
Save krishagel/158ea1113c264a9026ea to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//application controller: | |
import Ember from 'ember'; | |
export default Ember.Route.extend({ | |
renderTemplate: function() { | |
// Render default outlet | |
this.render(); | |
// render extra outlets | |
this.render("topnav", { | |
outlet: "topnav", | |
into: "application", | |
controller: "login" | |
}); | |
this.render("footer", { | |
outlet: "footer", | |
into: "application", | |
controller: "login" | |
}); | |
} | |
}); | |
Then I have a topnav.hbs file in the root of the templates folder in my application. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment