Skip to content
Snippets Groups Projects
Commit 48c195aa authored by Tim Zallmann's avatar Tim Zallmann
Browse files

Deep Linking

parent 8ca7ea7a
No related merge requests found
......@@ -57,7 +57,9 @@ export default () => {
];
return new VueRouter({
mode: 'history',
base: window.location.pathname,
base:
window.location.pathname.split('/-/product_analytics/views')[0] +
'/-/product_analytics/views',
routes,
});
};
......@@ -46,7 +46,7 @@ const queries = {
'Sessions.numberEvents',
],
order: [['Sessions.sessionStart', 'desc']],
limit: 800,
limit: 200,
},
};
......
......@@ -21,7 +21,9 @@ export default () => {
];
return new VueRouter({
mode: 'history',
base: window.location.pathname,
base:
window.location.pathname.split('/-/product_analytics/sessions')[0] +
'/-/product_analytics/sessions',
routes,
});
};
......@@ -373,7 +373,9 @@
get :graphs
get :dashboards
get :views
get 'views/*view_id' => 'product_analytics#views', as: :views_detail
get :sessions
get 'sessions/*sessions_id' => 'product_analytics#sessions', as: :sessions_detail
get :onboarding
get :onboarding_finish
post :onboarding_finish, to: 'product_analytics#onboarding_finish'
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment