         org-name (vcs-url/org-name vcs-url)
         repo-name (vcs-url/repo-name vcs-url)]
     (button-ajax :post
-                 (gstring/format "/api/v1/project/%s/follow" project)
+                 (api-path/project-follow (:vcs_type repo) project)
                  :follow-repo
                  api-ch
                  :params {:vcs-type (:vcs_type repo)}

        login (get-in current-state state/user-login-path)
        project (vcs-url/project-name vcs-url)
        org-name (vcs-url/org-name vcs-url)
        repo-name (vcs-url/repo-name vcs-url)]
    (button-ajax :post
                 (gstring/format "/api/v1/project/%s/follow" project)
                 :follow-project
                 api-ch
                 :context {:project-id project-id})

        org-name (vcs-url/org-name vcs-url)
        repo-name (vcs-url/repo-name vcs-url)]
    (button-ajax :post
                 (api-path/project-unfollow (:vcs_type repo) project)
                 :unfollow-repo
                 api-ch
                 :params {:vcs-type (:vcs_type repo)}
