mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-16 21:24:05 +00:00
style
This commit is contained in:
parent
2b433a9cbe
commit
bd79719054
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ class ConferenceRegistrationsController < ApplicationController
|
|||
def create
|
||||
@registration = @conference.registrations.new(registration_params)
|
||||
|
||||
if current_user == nil
|
||||
if current_user.nil?
|
||||
# @user variable needs to be set so that _sign_up_form_embedded works properly
|
||||
@user = @registration.build_user(user_params)
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue