import Ember from 'ember';

export default Ember.Route.extend({
  model() {
    return this.store.createRecord('support-ticket');
  }
});

import Ember from 'ember';

export default Ember.Route.extend({
  model() {
    return this.store.createRecord('support-ticket');
  },

  // Controllers are singletons so state must be cleared.
  setupController(controller, model) {
    this._super(controller, model);
    controller.set('didValidate', false);
  }
});

Reset the contact form validation between transitions.
Reset the contact form validation between transitions.

Fixes #69
