Skip to content

missing "guestbook.routes.home" call #16

@Lawrence4sure

Description

@Lawrence4sure

I must be wrong here because someone would have caught this before. So, I would appreciate some clarification in my logic.
//Lawrence

guestbook.routes.home calls "db/save-message!" but [guestbook.db.core :as db] does not contain the function "save-message!".

(defn save-message! [{:keys [params]}](if-let [errors %28validate-message params%29]
%28-> %28response/found)
(assoc :flash (assoc params :errors errors)))
(do
(db/save-message!
(assoc params :timestamp (java.util.Date.)))
(response/found "/"))))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions