Skip to content

Commit

Permalink
Added missing EditView.getUrl parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
SebLours committed Mar 19, 2016
1 parent d40ab91 commit d89dc8b
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 @@ -309,7 +309,7 @@ function routing($stateProvider) {
dataStore: () => new DataStore(),
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 d89dc8b

Please # to comment.