Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Ember from 'ember';
- export default Ember.Controller.extend({
- //navigationController: Ember.inject.controller('navigation')
- model: function(){
- return new Ember.Object.extend({
- menu: function(){
- return [
- Ember.Object.extend({title: "Annonces", location: 'adverts', active: null, icon: 'fa fa-archive'}),
- Ember.Object.extend({title: "Particuliers", location: 'individuals', active: null, icon: 'fa fa-users'}),
- Ember.Object.extend({title: "Professionnels", location: 'pros', active: null, icon: 'fa fa-suitcase'}),
- Ember.Object.extend({title: "Réglages généraux", location: 'global-settings', active: null, icon: 'fa fa-cog'})
- ]
- }
- });
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement