From: Tom Hughes Date: Tue, 11 May 2010 18:13:38 +0000 (+0100) Subject: Add parentheses to avoid warning X-Git-Tag: live~6317^2~3 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/07f0dddc6328760adb587a2908195991bf80b24a?ds=sidebyside Add parentheses to avoid warning --- 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])