mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-24 08:54:08 +00:00
Merge branch 'fixes-after-sitemap' into 'master'
Fixes after sitemap See merge request framasoft/mobilizon!539
This commit is contained in:
commit
b65ba33aa8
5 changed files with 3 additions and 11 deletions
|
@ -238,7 +238,7 @@ config :mobilizon, Oban,
|
|||
log: false,
|
||||
queues: [default: 10, search: 5, mailers: 10, background: 5],
|
||||
crontab: [
|
||||
{"@daily", Mobilizon.Service.Workers.BuildSiteMap, queue: :background}
|
||||
{"@hourly", Mobilizon.Service.Workers.BuildSiteMap, queue: :background}
|
||||
]
|
||||
|
||||
config :mobilizon, :rich_media,
|
||||
|
|
|
@ -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 }">{{
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -16,7 +16,6 @@ defmodule Mobilizon.Web.PageController do
|
|||
defdelegate my_events(conn, params), to: PageController, as: :index
|
||||
defdelegate create_event(conn, params), to: PageController, as: :index
|
||||
defdelegate list_events(conn, params), to: PageController, as: :index
|
||||
defdelegate explore_events(conn, params), to: PageController, as: :index
|
||||
defdelegate edit_event(conn, params), to: PageController, as: :index
|
||||
defdelegate moderation_report(conn, params), to: PageController, as: :index
|
||||
defdelegate participation_email_confirmation(conn, params), to: PageController, as: :index
|
||||
|
|
|
@ -82,6 +82,7 @@ defmodule Mobilizon.Web.Router do
|
|||
|
||||
get("/@:name", PageController, :actor)
|
||||
get("/events/me", PageController, :my_events)
|
||||
get("/events/create", PageController, :create_event)
|
||||
get("/events/:uuid", PageController, :event)
|
||||
get("/comments/:uuid", PageController, :comment)
|
||||
get("/resource/:uuid", PageController, :resource)
|
||||
|
@ -142,7 +143,6 @@ defmodule Mobilizon.Web.Router do
|
|||
get("/events/create", PageController, :create_event)
|
||||
get("/events/list", PageController, :list_events)
|
||||
get("/events/me", PageController, :my_events)
|
||||
get("/events/explore", PageController, :explore_events)
|
||||
get("/events/:uuid/edit", PageController, :edit_event)
|
||||
|
||||
# This is a hack to ease link generation into emails
|
||||
|
|
Loading…
Reference in a new issue