Correctly indent this if/else clause
Some of the content of the else was at the same indent level as the else itself.
This commit is contained in:
parent
735493837b
commit
479b682d38
1 changed files with 6 additions and 6 deletions
|
@ -36,13 +36,13 @@ class UserController < ApplicationController
|
|||
return
|
||||
end
|
||||
else
|
||||
@user = User.new(params[:user])
|
||||
@user = User.new(params[:user])
|
||||
|
||||
@user.visible = true
|
||||
@user.data_public = true
|
||||
@user.description = "" if @user.description.nil?
|
||||
@user.creation_ip = request.remote_ip
|
||||
@user.languages = request.user_preferred_languages
|
||||
@user.visible = true
|
||||
@user.data_public = true
|
||||
@user.description = "" if @user.description.nil?
|
||||
@user.creation_ip = request.remote_ip
|
||||
@user.languages = request.user_preferred_languages
|
||||
#Set the openid_url to nil as for one it is used
|
||||
#to check if the openid could be validated and secondly
|
||||
#to not get dupplicate conflicts for an empty openid
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue