diff --git a/app/javascript/app/app.vue b/app/javascript/app/app.vue index 7135b5c..10795c1 100644 --- a/app/javascript/app/app.vue +++ b/app/javascript/app/app.vue @@ -33,7 +33,7 @@ const url = new URL(target.href) const to = url.pathname - if (window.location.pathname !== to && event.preventDefault) { + if (window.location.pathname !== to && target.href.indexOf("/users/", 0) === -1 && event.preventDefault) { event.preventDefault() this.$router.push(to) } diff --git a/app/javascript/app/views/home/Index.vue b/app/javascript/app/views/home/Index.vue index a9a2074..fbaad29 100644 --- a/app/javascript/app/views/home/Index.vue +++ b/app/javascript/app/views/home/Index.vue @@ -15,7 +15,7 @@ Create Location - Log in to create a location. + Log in to create a location.