     show_job_panel()
     $.ajax
       type: 'GET'
-      url: joinRoot(Routes.workflow_path(id))
+      url: Routes.workflow_path(id)
       contentType: "application/json; charset=utf-8"
       dataType: "json"
       error: (jqXHR, textStatus, errorThrown) ->

@update_template_button = (id) ->
  if id?
    params = { jobid: "#{id}" }
    $("#template_button").attr("href", joinRoot(Routes.new_template_path( params )))
    $("#template_button").removeAttr("disabled")
    $("#template_button").unbind('click', false)
  else


@update_destroy_button = (id) ->
  if id?
    $("#destroy_button").attr("href", Routes.workflow_path(id))
    $("#destroy_button").data("method", "DELETE")
    $("#destroy_button").removeAttr("disabled")
    $("#destroy_button").unbind('click', false)
