Remove the /events/explore route

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-08-12 17:55:38 +02:00
parent 0f82363878
commit 3ca4291c9b
4 changed files with 2 additions and 10 deletions

View File

@@ -6,7 +6,7 @@
</b-navbar-item>
</template>
<template slot="start">
<b-navbar-item tag="router-link" :to="{ name: RouteName.EXPLORE }">{{
<b-navbar-item tag="router-link" :to="{ name: RouteName.SEARCH }">{{
$t("Explore")
}}</b-navbar-item>
<b-navbar-item tag="router-link" :to="{ name: RouteName.MY_EVENTS }">{{

View File

@@ -13,7 +13,6 @@ export enum EventRouteName {
EVENT_LIST = "EventList",
CREATE_EVENT = "CreateEvent",
MY_EVENTS = "MyEvents",
EXPLORE = "Explore",
EDIT_EVENT = "EditEvent",
DUPLICATE_EVENT = "DuplicateEvent",
PARTICIPATIONS = "Participations",
@@ -39,12 +38,6 @@ export const eventRoutes: RouteConfig[] = [
component: editEvent,
meta: { requiredAuth: true },
},
{
path: "/events/explore",
name: EventRouteName.EXPLORE,
redirect: { name: "Search" },
meta: { requiredAuth: false },
},
{
path: "/events/me",
name: EventRouteName.MY_EVENTS,