]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/user_roles_controller.rb
Fix links to user notes
[rails.git] / app / controllers / user_roles_controller.rb
index f38ba82ac80e59b1c1c354eb7c728e91552df88e..7dad891e2197a36b28f2fd69ba37b708ceaa89ee 100644 (file)
@@ -32,14 +32,6 @@ class UserRolesController < ApplicationController
     end
   end
 
-  ##
-  # ensure that there is a "this_user" instance variable
-  def lookup_this_user
-    unless @this_user = User.find_by_display_name(params[:display_name])
-      render_unknown_user params[:display_name]
-    end
-  end
-
   ##
   # require that the given role is valid. the role is a URL 
   # parameter, so should always be present.