| author | ymh <ymh.work@gmail.com> |
| Sat, 03 Dec 2016 02:43:57 +0100 | |
| changeset 463 | 5c43f17f87b5 |
| parent 414 | 5c6c526a7fc1 |
| permissions | -rw-r--r-- |
|
414
5c6c526a7fc1
Display for single notice, preparation for share link
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
1 |
import Ember from 'ember'; |
|
5c6c526a7fc1
Display for single notice, preparation for share link
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
2 |
|
|
5c6c526a7fc1
Display for single notice, preparation for share link
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
3 |
export default Ember.Route.extend({ |
|
5c6c526a7fc1
Display for single notice, preparation for share link
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
4 |
model() { |
|
5c6c526a7fc1
Display for single notice, preparation for share link
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
5 |
return this.modelFor('application'); |
|
5c6c526a7fc1
Display for single notice, preparation for share link
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
6 |
}, |
|
5c6c526a7fc1
Display for single notice, preparation for share link
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
7 |
|
|
5c6c526a7fc1
Display for single notice, preparation for share link
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
8 |
actions : { |
|
5c6c526a7fc1
Display for single notice, preparation for share link
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
9 |
didTransition() { |
|
5c6c526a7fc1
Display for single notice, preparation for share link
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
10 |
this.controllerFor('application').get('player').displayMetadata('notice'); |
|
5c6c526a7fc1
Display for single notice, preparation for share link
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
11 |
} |
|
5c6c526a7fc1
Display for single notice, preparation for share link
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
12 |
} |
|
5c6c526a7fc1
Display for single notice, preparation for share link
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
13 |
}); |