lib/morion/file.rb in morion-0.0.5 vs lib/morion/file.rb in morion-0.0.6
- old
+ new
@@ -26,9 +26,9 @@
file_path
end
def folder_path
- @path.gsub(@rails_root, "").match(/(.*\/).*/)[1]
+ @path.gsub(@rails_root, "").match(/(.*)\/.*/)[1]
end
end
end