fix apth for ETHERPAD Key

This commit is contained in:
Andreas Stephanides
2017-05-09 13:38:32 +02:00
parent 1f581ab819
commit 6a9fe8243b

View File

@@ -24,7 +24,7 @@ class Document < ActiveRecord::Base
"document_"+self.id.to_s "document_"+self.id.to_s
end end
def self.ether def self.ether
EtherpadLite.connect('http://www.fet.at/etherpad', File.new('/srv/etherpad/etherpad-lite/APIKEY.txt')) EtherpadLite.connect('http://www.etherpad.fet.at', File.new('config/etherpad/APIKEY.txt'))
end end
def create_pdf def create_pdf
require "open3" require "open3"