Skip to content

Commit

Permalink
Merge pull request #990 from SebLours/master
Browse files Browse the repository at this point in the history
Added missing EditView.getUrl parameter
  • Loading branch information
fzaninotto committed Mar 31, 2016
2 parents ff685e7 + d89dc8b commit 97c64ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/javascripts/ng-admin/Crud/routing.js
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ function routing($stateProvider) {
})],
view: viewProvider('EditView'),
rawEntry: ['$stateParams', 'ReadQueries', 'view', function ($stateParams, ReadQueries, view) {
return ReadQueries.getOne(view.getEntity(), view.type, $stateParams.id, view.identifier(), view.getUrl());
return ReadQueries.getOne(view.getEntity(), view.type, $stateParams.id, view.identifier(), view.getUrl($stateParams.id));
}],
entry: ['view', 'rawEntry', function(view, rawEntry) {
return view.mapEntry(rawEntry);
Expand Down

0 comments on commit 97c64ce

Please # to comment.