Skip to content

Commit 8d1b8fe

Browse files
committed
Cosmetic change in Document#content instance method
1 parent bf4e35b commit 8d1b8fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/document.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def description=(text)
8080
end
8181

8282
def content
83-
@content ||= exists? ? File.read(path) : ''
83+
@content ||= self.exists? ? File.read(self.path) : ''
8484
end
8585

8686
private

0 commit comments

Comments
 (0)