     subpage = subpage[0].replace('/', '')
     subpage = subpage || "notifications"
     $('#main').html(HAML['account']({}))
-    $('#subpage').html(HAML['account_' + subpage]())
+    $('#subpage').html(HAML['account_' + subpage]({}))
     ko.applyBindings(VM)
     $("##{subpage}").addClass('active')
 

      result["env-" + @environment] = true
      result

  create_token: (data, event) =>
    $.ajax
      type: "POST"

    subpage = subpage[0].replace('#', '')
    subpage = subpage || "settings"
    $('#main').html(HAML['edit']({project: project_name}))
    $('#subpage').html(HAML['edit_' + subpage]({}))
    ko.applyBindings(VM)


