![]() fetch method returns a promise instead of an actual object. We used find before, because this was the way we did things before upgrade to Ember Model. Returning a promise from a model hook pauses router rendering for the time a resource is loading, which makes it much easier to deal with asynchronous requests. Thanks to that we can remove parts of the code, which dealt with it manually. |
||
---|---|---|
.. | ||
account.coffee | ||
branch.coffee | ||
broadcast.coffee | ||
build.coffee | ||
commit.coffee | ||
event.coffee | ||
extensions.coffee | ||
hook.coffee | ||
job.coffee | ||
log.coffee | ||
repo.coffee | ||
user.coffee | ||
worker.coffee |