**jsonfile:**
{
"themingtests":[
{
"id" :1,
"path": "EmberTest/WebContent/json/themingtests.json"
}
]
}
**HTML file:**
<script type="text/x-handlebars" id="index">
{{#each item in model}}
{{item.path}}
{{/each}}
**JS File:**
App.Themingtest =DS.Model.extend({
path: DS.attr('string'),
});
I'm not able to read a file on that particular path . Is there any other way then kindly please Suggest !!
Aucun commentaire:
Enregistrer un commentaire