Skip to content

Commit

Permalink
Merge pull request #718 from rndstr/patch-1
Browse files Browse the repository at this point in the history
fix typo in README
  • Loading branch information
fzaninotto committed Oct 6, 2015
2 parents e8a9b13 + 576a8e3 commit 12aff98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/API-mapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ myApp.config(['RestangularProvider', function(RestangularProvider) {
RestangularProvider.addFullRequestInterceptor(function(element, operation, what, url, headers, params, httpConfig) {
if (operation == 'getList' && what == 'entityName') {
params.offset = (params._page - 1) * params._perPage;
params.end = params._perPage;
params.limit = params._perPage;
delete params._page;
delete params._perPage;
}
Expand Down

0 comments on commit 12aff98

Please sign in to comment.