Add parentheses to avoid warning
This commit is contained in:
parent
836e926e62
commit
07f0dddc63
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class UserController < ApplicationController
|
||||||
if Acl.find_by_address(request.remote_ip, :conditions => {:k => "no_account_creation"})
|
if Acl.find_by_address(request.remote_ip, :conditions => {:k => "no_account_creation"})
|
||||||
render :action => 'new'
|
render :action => 'new'
|
||||||
elsif params[:decline]
|
elsif params[:decline]
|
||||||
redirect_to t 'user.terms.declined'
|
redirect_to t('user.terms.declined')
|
||||||
else
|
else
|
||||||
@user = User.new(params[:user])
|
@user = User.new(params[:user])
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue