67cc41973f
Ember.ObjectController was proxying model properties to controller. Ember.Controller which should be used is not. Therefore we have to define if it's a property of controller or model. Also added two more tests: * anonymous participation * do not force an answer for all options
7 lines
152 B
JavaScript
7 lines
152 B
JavaScript
import Ember from "ember";
|
|
|
|
export default Ember.Controller.extend({
|
|
is404: function(){
|
|
return this.get('status') === 404;
|
|
}.property('status')
|
|
});
|