Update the admin panel to show brief contents.
This commit is contained in:
@@ -26,7 +26,7 @@
|
|||||||
id (.-id (.-params req))]
|
id (.-id (.-params req))]
|
||||||
(go
|
(go
|
||||||
(try
|
(try
|
||||||
(let [articles (<! (db/get-articles client channel))]
|
(let [articles (<! (db/get-articles-briefly client channel))]
|
||||||
(res/status 200)
|
(res/status 200)
|
||||||
(.render res "admin_panel"
|
(.render res "admin_panel"
|
||||||
(-> {:articles articles}
|
(-> {:articles articles}
|
||||||
|
|||||||
Reference in New Issue
Block a user