diff --git a/app/assets/javascripts/projects.js.coffee b/app/assets/javascripts/projects.js.coffee
index 7700cf98489ca496819662db2a9df2593f6744cf..85ab2a06dfffd5ca9dfc68c381981213ed725123 100644
--- a/app/assets/javascripts/projects.js.coffee
+++ b/app/assets/javascripts/projects.js.coffee
@@ -1,7 +1,7 @@
 window.Projects = ->
   $('#project_name').on 'change', ->
     slug = slugify $(@).val()
-    $('#project_code').val slug
+    $('#project_code, #project_path').val slug
 
   $('.new_project, .edit_project').on 'ajax:before', ->
     $('.project_new_holder, .project_edit_holder').hide()