Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4831

Creating a models directory in pods?

$
0
0

@accelerate wrote:

I'm using pods, and I'm wondering if there's a way to have a app/pods/models directory where all my models go much like there's a app/pods/components directory? I thought about just using the non-pod layout (ie, apps/models); however, each of my models has a serializer and an adapter, and I want those grouped together.

In other words, is it possible to have, for example:

app/
  pods/
    models/
      author/
        model.js
        adapter.js
        serializer.js
      book/
        model.js
        adapter.js
        serializer.js

Posts: 4

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 4831

Trending Articles