# File app/controllers/admin_controller.rb, line 68
  def edit
    @user = User.find(params[:id])
    if @user.user_level >= session[:level] && session[:level] < 3
      flash[:notice] = "You are not authorized to edit that user."
      redirect_to :action => 'list'
    else
      render :layout => 'simple'
    end
  end