projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
836e926
)
Add parentheses to avoid warning
author
Tom Hughes
<tom@compton.nu>
Tue, 11 May 2010 18:13:38 +0000
(19:13 +0100)
committer
Tom Hughes
<tom@compton.nu>
Tue, 11 May 2010 18:13:38 +0000
(19:13 +0100)
app/controllers/user_controller.rb
patch
|
blob
|
history
diff --git
a/app/controllers/user_controller.rb
b/app/controllers/user_controller.rb
index 1bab42266e08bf3f47cb91db9afade9362c4cc81..e07b65af76502278deb69b98c62283bc76f20e39 100644
(file)
--- 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])