Add parentheses to avoid warning

This commit is contained in:
Tom Hughes 2010-05-11 19:13:38 +01:00
parent 836e926e62
commit 07f0dddc63

View file

@ -40,7 +40,7 @@ class UserController < ApplicationController
if Acl.find_by_address(request.remote_ip, :conditions => {:k => "no_account_creation"})
render :action => 'new'
elsif params[:decline]
redirect_to t 'user.terms.declined'
redirect_to t('user.terms.declined')
else
@user = User.new(params[:user])