Minor fixes needed for last_timeline to work.

* Added route back for PUT /ts_api/user/<username>
* Fixed typo in ``ts_api:put_user/2``.
* Fixed incorrect expected return from ``ts_ext_data:set_property/3``.
* Added missing assignment for ``ts_user.email`` in the appropriate
  ``ts_json:construct_record/3`` clause.
* Fixed model attribute assignment in ``ts.js``.
This commit is contained in:
Jonathan Bernard
2011-06-15 18:31:53 -05:00
parent cd182d54c3
commit 602bdca7e3
7 changed files with 7 additions and 5 deletions

View File

@ -559,7 +559,7 @@ $(document).ready(function(){
this.entries.collection.timeline = tl;
// update the last_timeline field of the user model
this.user.model.set('last_timeline', tl.get('id');
this.user.model.set({last_timeline: tl.get('id')});
this.user.model.save();
// refresh TimelineListView