Pathname Objects

Web#files_path and Web#blatex_pngs_path now return Pathname objects.
Based on JHerdman's
5d1e8f420b
but requires several other changes to the code (which assumed a string).

Also, test for itex2MML 1.3.10 (you should update that too).
This commit is contained in:
Jacques Distler 2009-08-28 11:10:34 -05:00
parent c05d69bcff
commit 336e57d6b4
4 changed files with 17 additions and 13 deletions

View file

@ -46,7 +46,7 @@ class WikiFile < ActiveRecord::Base
end
def content_path
web.files_path + '/' + file_name
web.files_path.join(file_name)
end
def write_content_to_file