|
|
@ -196,6 +196,7 @@ class ManagementsController < ApplicationController
|
|
|
|
if request.post?
|
|
|
|
if request.post?
|
|
|
|
@user.nickname = params[:nickname]
|
|
|
|
@user.nickname = params[:nickname]
|
|
|
|
@user.lastname = params[:lastname]
|
|
|
|
@user.lastname = params[:lastname]
|
|
|
|
|
|
|
|
@user.business = params[:business].to_i
|
|
|
|
@user.firstname = ""
|
|
|
|
@user.firstname = ""
|
|
|
|
@user.mail = params[:mail].strip == "" ? nil : params[:mail]
|
|
|
|
@user.mail = params[:mail].strip == "" ? nil : params[:mail]
|
|
|
|
@user.phone = params[:phone].strip == "" ? nil : params[:phone]
|
|
|
|
@user.phone = params[:phone].strip == "" ? nil : params[:phone]
|
|
|
|