mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 09:11:17 +08:00
FIX: Ember.warn
needs an id
This way errors can be customized/silenced in the console.
This commit is contained in:
@ -101,7 +101,7 @@ export default Ember.Mixin.create({
|
||||
|
||||
_save() {
|
||||
Ember.warn("You should define a `_save` method", {
|
||||
id: "admin.mixins.setting-component"
|
||||
id: "discourse.setting-component.missing-save"
|
||||
});
|
||||
return Ember.RSVP.resolve();
|
||||
},
|
||||
|
Reference in New Issue
Block a user