 
 ;; XXX: add unsubscribe when you leave the build page
 (defmethod post-navigated-to! :build-inspector
-  [history-imp to [project-name build-num] previous-state current-state]
+  [history-imp navigation-point [project-name build-num] previous-state current-state]
   (let [api-ch (get-in current-state [:comms :api])
         ws-ch (get-in current-state [:comms :ws])]
     (utils/ajax :get



(defmethod navigated-to :project-settings
  [history-imp to {:keys [project-name subpage org repo]} state]
  (-> state
      (assoc :navigation-point :project-settings)
      (assoc :navigation-data {}) ;; XXX: maybe put subpage info here?

;; XXX: find a better place for all of the ajax functions, maybe a separate api
;;      namespace that knows about all of the api routes?
(defmethod post-navigated-to! :project-settings
  [history-imp navigation-point {:keys [project-name subpage]} previous-state current-state]
  (let [api-ch (get-in current-state [:comms :api])]
    (if (get-in current-state state/project-path)
      (mlog "project settings already loaded for" project-name)
