import Ember from "ember";
import ResetScroll from '../../mixins/reset-scroll';

export default Ember.Route.extend(ResetScroll, {
	model: function(params) {
		return this.store.find("atask", params["task_id"]);
	},
	title: "KSI: Správa úloh"
});

import Ember from "ember";
import ResetScroll from '../../mixins/reset-scroll';

export default Ember.Route.extend(ResetScroll, {
	model: function(params) {
		return this.store.find("atask", params["task_id"]);
	},
	title: "KSI: Správa úloh",
	actions: {
      willTransition: function(transition) {
        this.controller.set('save_status', "");
        this.controller.set('error_status', "");
      }
    }
});

Reset status messages before opening task.
Reset status messages before opening task.
