       [:td [:img {:src recipe-avatar-url :class "img-thumbnail" :style {:max-width "150px"}}]]
       [:td recipe-name]
       [:td
-        [:button "Show"]
-        [:button "Edit"]
+        [:button {:onClick #(secretary/dispatch! (str "#/recipes/" recipe-id))} "View"]
         [:button {:onClick #(destroy-recipe recipe-id)} "Destroy"]]]))
 
 (defn home-page []

(defn get-recipes []
  (GET (str js/context "/recipes")
    :handler (fn [response] (reset! recipes response))
    :response-format :json
    :keywords? true))


      [:header
        [:h1 "New Recipe"]]
      [new-recipe-body]]])


;; -------------------------
;; Recipe View

(defn recipe-view-page []
  (get-recipe (get @recipe :id))
  [:div
    [:section
      [:header
        [:h1 "Recipe"]]]])

;; -------------------------
;; Nav Bar
