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