projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a99b516
)
Fix spelling of referer
author
Tom Hughes
<tom@compton.nu>
Tue, 10 Aug 2010 17:13:34 +0000
(18:13 +0100)
committer
Tom Hughes
<tom@compton.nu>
Tue, 10 Aug 2010 17:13:34 +0000
(18: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 01e62ccc354d965b6a98e75c0ec8357aa64087f3..a354fb0ef041259ce875c03724fb11b6c1ff99c4 100644
(file)
--- a/
app/controllers/user_controller.rb
+++ b/
app/controllers/user_controller.rb
@@
-206,7
+206,7
@@
class UserController < ApplicationController
# them to that unless they've also got a block on them, in
# which case redirect them to the block so they can clear it.
if user.blocked_on_view
- redirect_to user.blocked_on_view, :refer
rer => params[:refer
rer]
+ redirect_to user.blocked_on_view, :refer
er => params[:refe
rer]
elsif params[:referer]
redirect_to params[:referer]
else