diff --git a/app/views/admin/site_panel/_form.html.erb b/app/views/admin/site_panel/_form.html.erb
index 7124dd5..cd8c68f 100644
--- a/app/views/admin/site_panel/_form.html.erb
+++ b/app/views/admin/site_panel/_form.html.erb
@@ -104,9 +104,9 @@
var school = $("#school_name").val();
type = (type == "School" ? "school_sites" : "orbit_sites" );
if(school != ""){
- $("#path").val("/home/rulingcom/" + type + "/" + school + "/");
+ $("#path").val("/home/rulingcom/" + type + "/" + school);
}else{
- $("#path").val("/home/rulingcom/" + type + "/");
+ $("#path").val("/home/rulingcom/" + type);
}
})
$("#site_name").on("blur",function(){
@@ -117,9 +117,9 @@
$("#db_name").val(val);
type = (type == "School" ? "school_sites" : "orbit_sites" );
if(school != ""){
- $("#path").val("/home/rulingcom/" + type + "/" + school + "/")
+ $("#path").val("/home/rulingcom/" + type + "/" + school);
}else{
- $("#path").val("/home/rulingcom/" + type + "/");
+ $("#path").val("/home/rulingcom/" + type);
}
})
$("#site_construct_site_type").val("School");