<commit_before>class Admin::AdminController < ApplicationController

  def index
    @users = User.find(:all, :conditions => ["admin = ?", false])
    authorize current_user, :is_admin?
  end

  def show
    @user = User.find(params[:id])
    authorize current_user, :is_admin?
  end

  def edit
    @user = User.find(params[:id])
    authorize current_user, :is_admin?
  end

  def create
    authorize current_user, :is_admin?
  end

  def destroy
    authorize current_user, :is_admin?
  end

end
<commit_msg>Fixed merge conflict in admin_controller.rb<commit_after>class Admin::AdminController < ApplicationController

  def index
    @users = User.find(:all, :conditions => ["admin = ?", false])
    authorize current_user, :is_admin?
  end

  def show
    @user = User.find(params[:id])
    authorize current_user, :is_admin?
  end

  def edit
    @user = User.find(params[:id])
    authorize current_user, :is_admin?
  end

  def create
    authorize current_user, :is_admin?
  end

  def destroy
    @user = User.find(params[:id])
    authorize current_user, :is_admin?
    @user.destroy
    flash[:notice] = "User #{@user.email} has been removed."
    redirect_to admin_root_path
  end

end

{'fraction_non_alphanumeric': 0.10916666666666666, 'fraction_numerical': 0.0, 'mean_word_length': 3.6015325670498086, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5757227', 'n_tokens_mistral': 401, 'n_tokens_neox': 390, 'n_words': 101}