mirror of
https://github.com/flarum/core.git
synced 2025-08-13 03:44:32 +02:00
Upgrade to JSON-API RC3 + latest version of tobscure/json-api
Note: npm source for ember-json-api changed to a fork, but I still had to apply a custom change to get polymorphic relationships to work (see https://github.com/kurko/ember-json-api/pull/71#issuecomment-85257281)
This commit is contained in:
@@ -6,7 +6,7 @@ export default Ember.Component.extend(FadeIn, {
|
||||
layoutName: 'components/user/activity-item',
|
||||
tagName: 'li',
|
||||
|
||||
componentName: Ember.computed('activity.type', function() {
|
||||
return 'user/activity-'+this.get('activity.type');
|
||||
componentName: Ember.computed('activity.contentType', function() {
|
||||
return 'user/activity-'+this.get('activity.contentType');
|
||||
})
|
||||
});
|
||||
|
Reference in New Issue
Block a user