travis-web/app/controllers/error.js

16 lines
282 B
JavaScript

import Ember from 'ember';
export default Ember.Controller.extend({
layoutName: Ember.computed({
get(key) {
if(this._layoutName) {
return 'layouts/' + this._layoutName;
}
},
set(key, value) {
return this._layoutName = value;
}
})
});