app/models/optimacms/template.rb
def content(lang='')
       filename =  fullpath(lang)
       return nil if filename.nil?
       return '' if !File.exists? filename
       File.read(filename)
     end
def content(lang='')
       filename =  fullpath(lang)
       return nil if filename.nil?
       return '' if !File.exists? filename
       File.read(filename)
     end
content