summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-26 14:06:27 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-26 14:06:27 +0100
commit36919fb419a40688daa97e36734f579488cb56e2 (patch)
treea52a4d7df4d1ea2b1926a722ca2c0de59fc96e25 /app/controllers
parent18d827073a3612c88185523af15c7314e465dd63 (diff)
Restore and Backup fixes.
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/restore_jobs_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/restore_jobs_controller.rb b/app/controllers/restore_jobs_controller.rb
index 1cccdc1..bfecc33 100644
--- a/app/controllers/restore_jobs_controller.rb
+++ b/app/controllers/restore_jobs_controller.rb
@@ -16,6 +16,7 @@ class RestoreJobsController < ApplicationController
@restore_job.state = 'new'
if @restore_job.save
+ session[:user_id] = nil
redirect_to @restore_job, :notice => t('restore_jobs.controller.successfuly_created')
else
render :new