Giter VIP home page Giter VIP logo

Comments (5)

ghempton avatar ghempton commented on July 29, 2024

This should work the same as in Ember Data:

App.Adapter = Ep.RestAdapter.extend({
  namespace: 'api'
});

from epf.

rayb avatar rayb commented on July 29, 2024

Thanks - got a nice api layer going now.

Also, I was wondering if we can could get access to the slide decks and or video/ audio of the presentations from last nights meetup. I would like to share them with my intern.

Ray

From: Gordon L. Hempton [mailto:[email protected]]
Sent: Thursday, July 18, 2013 3:05 PM
To: GroupTalent/epf
Subject: Re: [epf] How to configure the adapter? (#19)

This should work the same as in Ember Data:

App.Adapter = Ep.RestAdapter.extend({

namespace: 'api'

});


Reply to this email directly or view it on GitHubhttps://github.com//issues/19#issuecomment-21218506.

from epf.

ghempton avatar ghempton commented on July 29, 2024

@rayb I will post both of those tonight

from epf.

ghempton avatar ghempton commented on July 29, 2024

I am going to close this issue, let me know if you have any other questions on adapter configuration.

from epf.

Emerson avatar Emerson commented on July 29, 2024

Hate to reopen this, but I've been trying to figure this out for awhile without any luck.

My app is divided into two sections, admin and standard user. I'd like all the admin api requests to be namespaced differently than my standard user requests. Any suggestions on the best way of doing this? Should I be changing the namespace depending on the route, or creating an entirely new adapter just for the admin section...

Any suggestions would be really appreciated

from epf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.