lib/gollum-lib/grit_ext.rb in gollum-lib-2.0.0 vs lib/gollum-lib/grit_ext.rb in gollum-lib-3.0.0

- old
+ new

@@ -5,10 +5,10 @@ def is_symlink self.mode == 0120000 end def symlink_target(base_path = nil) - target = self.data + target = self.data new_path = File.expand_path(File.join('..', target), base_path) if File.file? new_path return new_path end