diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/controllers/page_translations_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/page_translations_controller.rb b/app/controllers/page_translations_controller.rb index 88726be6..b8673056 100644 --- a/app/controllers/page_translations_controller.rb +++ b/app/controllers/page_translations_controller.rb | |||
| @@ -27,7 +27,7 @@ class PageTranslationsController < ApplicationController | |||
| 27 | @node.save_draft!(current_user) | 27 | @node.save_draft!(current_user) |
| 28 | flash[:notice] = t("flash.page_translations.saved", :lang => @locale.upcase) | 28 | flash[:notice] = t("flash.page_translations.saved", :lang => @locale.upcase) |
| 29 | 29 | ||
| 30 | if params[:commit] == "Save + Unlock + Exit" | 30 | if params[:unlock_exit].present? |
| 31 | @node.unlock! | 31 | @node.unlock! |
| 32 | redirect_to node_path(@node) | 32 | redirect_to node_path(@node) |
| 33 | else | 33 | else |
