diff options
author | Patrick Simianer <p@simianer.de> | 2015-06-24 11:30:30 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2015-06-24 11:30:30 +0200 |
commit | 9a9636ec8dab9d2e650e56e56fade1f185d2ad3e (patch) | |
tree | 6138adb6a6f09cd7107394733c7eb368e38d22b5 /server.rb | |
parent | 94d21adbd3e6dcff27de3207c050569e500ac2c0 (diff) |
data -> session
Diffstat (limited to 'server.rb')
-rwxr-xr-x | server.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -210,10 +210,10 @@ get '/next' do # (receive post-edit, update models), send next translation end get '/debug' do # debug view - fn = "#{WORK_DIR}/dtrain.debug.json" + fn = "#{WORK_DIR}/dtrain.debug.json" # TODO: other tools data = JSON.parse ReadFile.read(fn).force_encoding("UTF-8") - haml :debug, :locals => { :data => data } + haml :debug, :locals => { :data => data, :session_key => SESSION_KEY } end get '/confirm' do # client confirms received translation |