Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Ember from 'ember';
- const countries = [
- { name: 'United States', flagUrl: '/flags/us.svg' },
- { name: 'Spain', flagUrl: '/flags/es.svg' },
- { name: 'Portugal', flagUrl: '/flags/pt.svg' },
- { name: 'Russia', flagUrl: '/flags/ru.svg' },
- { name: 'Latvia', flagUrl: '/flags/lv.svg' },
- { name: 'Brazil', flagUrl: '/flags/br.svg' },
- { name: 'United Kingdom', flagUrl: '/flags/gb.svg' },
- ];
- export default Ember.Controller.extend({
- countries: countries,
- destination: countries[2],
- actions: {
- foo() { }
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement