From 07f0dddc6328760adb587a2908195991bf80b24a Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 11 May 2010 19:13:38 +0100 Subject: [PATCH] Add parentheses to avoid warning --- app/controllers/user_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index 1bab42266..e07b65af7 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -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]) -- 2.43.2