Advertisement
Guest User

Untitled

a guest
Nov 30th, 2015
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. import Ember from 'ember';
  2.  
  3. export default Ember.Controller.extend({
  4. //navigationController: Ember.inject.controller('navigation')
  5. model: function(){
  6. return new Ember.Object.extend({
  7. menu: function(){
  8. return [
  9. Ember.Object.extend({title: "Annonces", location: 'adverts', active: null, icon: 'fa fa-archive'}),
  10. Ember.Object.extend({title: "Particuliers", location: 'individuals', active: null, icon: 'fa fa-users'}),
  11. Ember.Object.extend({title: "Professionnels", location: 'pros', active: null, icon: 'fa fa-suitcase'}),
  12. Ember.Object.extend({title: "Réglages généraux", location: 'global-settings', active: null, icon: 'fa fa-cog'})
  13. ]
  14. }
  15. });
  16. }
  17. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement