Commit Graph

7 Commits

Author SHA1 Message Date
Piotr Sarnacki
0014c65cbd Fix hooks toggling
When changing adapter to make it work with env vars I used PATCH method.
Hooks are using PUT to update active fields, so it broke hooks. This
commit moves saveRecord with PATCH to env vars' adapter.
2014-08-21 20:23:05 +02:00
Piotr Sarnacki
745a39eae5 First stab at env vars 2014-07-28 14:19:44 +02:00
Piotr Sarnacki
bcf5ac50c5 Send record to buildURL method when it's available
For some cases (like coming env vars) we will need to also pass a
repository id to the URL, so I'm passing it from createRecord and other
methods which handle records.
2014-07-28 12:50:11 +02:00
Piotr Sarnacki
c808d3d3b8 Add sideloaded records to record arrays 2014-01-28 22:41:50 +01:00
Piotr Sarnacki
1f0b068992 Pass ids as params to ajax to make it easier to debug it in chrome 2013-12-11 12:43:10 +01:00
Piotr Sarnacki
9958de3191 Add record to record arrays in adapter
Ember Model does not do it automatically. I had a patch, which was
changing that, but after giving it more thought, I think it's not a good
idea - this should be up to adapter if the records are going into
record arrays.
2013-10-18 13:41:09 +02:00
Piotr Sarnacki
c0cb223aeb Update Travis.Model to work with Ember Model 2013-07-31 13:51:28 +02:00