ebryn / ember-model

A lightweight model library for Ember.js
MIT License
524 stars 159 forks source link

Davemswrve/add tag name fallback #429

Closed davemswrve closed 9 years ago

davemswrve commented 9 years ago

This fixes the issue where conversation page content isn't reloaded when exiting edit without saving and then returning back into the campaign. Turns out Ember Model doesn't like it when the property names from the API are different from the property names on the model, so this adds a fallback which looks up the correct property on the API model.

@cjkm tests ran and built fine.