diff --git a/app/models/dmsf_folder.rb b/app/models/dmsf_folder.rb index 414e06ae..21ca2fc5 100644 --- a/app/models/dmsf_folder.rb +++ b/app/models/dmsf_folder.rb @@ -180,7 +180,7 @@ class DmsfFolder < ActiveRecord::Base def dmsf_path_str path = dmsf_path string_path = path.map { |element| element.title } - string_path.join('/') + File.join string_path end def notify? diff --git a/app/views/dmsf_context_menus/dmsf.html.erb b/app/views/dmsf_context_menus/dmsf.html.erb index 5f16341e..220a04f9 100644 --- a/app/views/dmsf_context_menus/dmsf.html.erb +++ b/app/views/dmsf_context_menus/dmsf.html.erb @@ -39,9 +39,9 @@ <% if @file %>