Browse Source

Remove set_language_if_valid from MyController (#39066).

Patch by Pavel Rosický.


git-svn-id: https://svn.redmine.org/redmine/trunk@22320 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/5.1.0
Go MAEDA 7 months ago
parent
commit
80880d9aaa
1 changed files with 0 additions and 1 deletions
  1. 0
    1
      app/controllers/my_controller.rb

+ 0
- 1
app/controllers/my_controller.rb View File

@@ -55,7 +55,6 @@ class MyController < ApplicationController
@user.pref.safe_attributes = params[:pref]
if @user.save
@user.pref.save
set_language_if_valid @user.language
respond_to do |format|
format.html do
flash[:notice] = l(:notice_account_updated)

Loading…
Cancel
Save