Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Ember from 'ember';
- export default Ember.Route.extend({
- model() {
- return Ember.Object.create({
- hidden: 'hidden'
- });
- },
- actions: {
- showAddress() {
- const model = this.modelFor(this.routeName);
- model.set('hidden', '');
- },
- nextPage() {
- this.transitionTo('appointment');
- }
- }
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement