 class Project extends HasUrl
   constructor: (json) ->
     json.latest_build = (new Build(json.latest_build)) if json.latest_build
-    super(json)
+    super json
     @edit_link = @komp () =>
       "#{@project_path()}/edit"
 

    @admin = ko.observable()
    @error_message = ko.observable(null)
    @first_login = true;


  clearErrorMessage: () =>

      type: "PUT"
      url: "/api/v1/user/save-preferences"
      contentType: "application/json"
      data: JSON.stringify {basic_email_prefs: @basic_email_prefs}
    )
    false # dont bubble the event up

