Skip to content

Commit

Permalink
Add the path to the dynamic view
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Aug 21, 2019
1 parent 9f4e0da commit 306146c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contribs/gmf/src/controllers/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ function bootstrap(module) {
const dynamicUrl_ = $('meta[name=dynamicUrl]')[0].getAttribute('content');
const dynamicUrl = `${dynamicUrl_}?interface=${interface_}&query=${encodeURIComponent(
document.location.search
)}&path=${encodeURIComponent(
document.location.pathname
)}`;
const request = $.ajax(dynamicUrl, {
'dataType': 'json',
Expand Down

0 comments on commit 306146c

Please sign in to comment.