]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/user_roles_controller.rb
Use start.html.erb views instead of _sidebar.html.erb partials
[rails.git] / app / controllers / user_roles_controller.rb
index 11a1dc41ee28f5c692f1055276f9482ad6785787..7dad891e2197a36b28f2fd69ba37b708ceaa89ee 100644 (file)
@@ -32,15 +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])
-      @not_found_user = params[:display_name]
-      render :template => 'user/no_such_user', :status => :not_found
-    end
-  end
-
   ##
   # require that the given role is valid. the role is a URL 
   # parameter, so should always be present.