     "/organ/new" :
       on:    newOrgan
       after: closeNewOrganDialog
-    "/organs/:organId" : organ
   )
 
   router.init()


  $("#create-new-organ a.close-modal").click () ->
    router.setRoute '/'
    return false

  $("#create-new-organ a.submit").click () ->
    $.post '/fi/organs', $('#create-new-organ').serialize(), (data) ->
      router.setRoute "/organs/#{data._id}"
    return false

  $("#single-organ a.application-call").click () ->

newOrgan = ->
  openNewOrganDialog()

$(document).ready ->
  $("select, input:checkbox, input:radio, input:file, input:text, textarea, submit").uniform()

