]> git.openstreetmap.org Git - rails.git/commitdiff
Add parentheses to avoid warning
authorTom Hughes <tom@compton.nu>
Tue, 11 May 2010 18:13:38 +0000 (19:13 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 11 May 2010 18:13:38 +0000 (19:13 +0100)
app/controllers/user_controller.rb

index 1bab42266e08bf3f47cb91db9afade9362c4cc81..e07b65af76502278deb69b98c62283bc76f20e39 100644 (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])