Commit 91619b95 authored by Steve Laskaridis's avatar Steve Laskaridis
Browse files

Merge pull request #226 from ioantsaf/ember-route-bugfix

Ember route bugfix
parents 1a4c01bf f4db73e8
......@@ -36,7 +36,7 @@ module.exports = function(environment) {
routeIfAlreadyAuthenticated: 'dashboard'
};
ENV.refresh_interval = 2000;
ENV.refresh_interval = 6000;
ENV.redirect_delay = 3000;
ENV.message_dismiss = 4000;
......
......@@ -13,7 +13,6 @@ export default Ember.Route.extend(AuthenticatedRouteMixin, {
model: function (params) {
this.poll = Ember.run.later(this, function () {
this.model(params).then(function () {
this.modelFor('lambda-app').application.reload();
}.bind(this));
}, ENV.refresh_interval);
......
......@@ -14,7 +14,6 @@ export default Ember.Route.extend(AuthenticatedRouteMixin, {
model: function (params) {
this.poll = Ember.run.later(this, function () {
this.model(params).then(function () {
this.modelFor('lambda-instance').instance.reload();
}.bind(this));
}, ENV.refresh_interval);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment