Fix spelling of referer
authorTom Hughes <tom@compton.nu>
Tue, 10 Aug 2010 17:13:34 +0000 (18:13 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 10 Aug 2010 17:13:34 +0000 (18:13 +0100)
app/controllers/user_controller.rb

index 01e62cc..a354fb0 100644 (file)
@@ -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, :referrer => params[:referrer]
+          redirect_to user.blocked_on_view, :referer => params[:referer]
         elsif params[:referer]
           redirect_to params[:referer]
         else