devel #241
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ defmodule Chiya.Site do
|
||||||
alias Chiya.Repo
|
alias Chiya.Repo
|
||||||
alias Chiya.Site.Setting
|
alias Chiya.Site.Setting
|
||||||
|
|
||||||
@preloads [:home_channel, :default_channel, :micropub_channel, :wiki_channel]
|
@preloads [:home_channel, :default_channel, :micropub_channel, :wiki_channel, :bookmark_channel]
|
||||||
@default_settings %{
|
@default_settings %{
|
||||||
title: "Site Title",
|
title: "Site Title",
|
||||||
subtitle: "Subtitle",
|
subtitle: "Subtitle",
|
||||||
|
|
|
@ -87,7 +87,7 @@ defmodule ChiyaWeb.PageController do
|
||||||
|
|
||||||
def bookmarks(conn, _params) do
|
def bookmarks(conn, _params) do
|
||||||
[channel, notes] =
|
[channel, notes] =
|
||||||
case conn.assigns.settings.wiki_channel_id do
|
case conn.assigns.settings.bookmark_channel_id do
|
||||||
nil ->
|
nil ->
|
||||||
[nil, nil]
|
[nil, nil]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue