Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

When .Json file is created ?

$
0
0
in below code, when '/services/recipes/'+params.id+'.json'  file is create and how this contains the data.

$.Model('recipe',
{
findOne : function(params, success, error ){
   return $.ajax({
     url: '/services/recipes/'+params.id+'.json',
     type: 'get',
     dataType : 'json recipe.model' 
   })
}
}

Viewing all articles
Browse latest Browse all 3491

Trending Articles