 (defn- is-inbox? [collection-type]
   (= collection-type "inbox"))
 
-(defn- is-contributor? [collection-type]
-  (= collection-type "contributors"))
+(defn- is-contributions? [collection-type]
+  (= collection-type "contributions"))
 
 (defn- pagination-link
   "Add `next` and/or `prior` links for pagination as needed."

                   (cond
                     (is-inbox? collection-type)
                     (inbox-url collection-type org {:start last-activity-date :direction direction})
                     (is-contributor? collection-type)
                     (contributions-url org author-uuid sort-type {:start last-activity-date :direction direction})
                     :else
                     (url collection-type org sort-type {:start last-activity-date :direction direction})))

  [params org collection-type activity boards user]
  (let [sort-type (:sort-type params)
        inbox? (is-inbox? collection-type)
        contributions? (is-contributions? collection-type)
        collection-url (cond
                        inbox?
                        (inbox-url collection-type org)
                        contributions?
                        (contributions-url org (:author-uuid params) (:sort-type params))
                        :else
                        (url collection-type org sort-type))
