getoutreach / epf

A framework for keeping your Ember.js apps in sync.
http://epf.io
MIT License
369 stars 33 forks source link

Documentation on Usage #57

Closed brandonparsons closed 11 years ago

brandonparsons commented 11 years ago

Hi there,

I like the sound of EPF, but I'm a bit confused by the docs. For example, where/how do I specify the URL endpoint of the REST backend? The equivalent of ember-data :

  App.Store = DS.Store.extend
    adapter: DS.RESTAdapter.create
      url: '/api/v1'

Maybe inclusion of a super-simple example might help?

c0urg3tt3 commented 11 years ago
App.Adapter = Ep.RestAdapter.extend({
  url: 'api',
  namespace: 'v1'
});
brandonparsons commented 11 years ago

Thanks!

On Tue, Aug 6, 2013 at 10:05 AM, c0urg3tt3 notifications@github.com wrote:

App.Adapter = Ep.RestAdpater.extend({ url: 'api', namespace: 'v1'});

— Reply to this email directly or view it on GitHubhttps://github.com/GroupTalent/epf/issues/57#issuecomment-22190491 .

ghempton commented 11 years ago

Going to close since this was fixed. Thanks @c0urg3tt3