<commit_before>class Context::Admin::BaseController < ApplicationController
  before_filter :context_admin_required
  
  def index
    
  end
  
  private
  
  def context_admin_required
    p "CALLING CONTEXT ADMIN REQUIRED"
    if !current_user.try(:context_admin)
      flash[:notice] = "You must be an admin to access that area."
      redirect_to '/'
    end
  end
end<commit_msg>Remove debug statement from context_admin_required<commit_after>class Context::Admin::BaseController < ApplicationController
  before_filter :context_admin_required
  
  def index
    
  end
  
  private
  
  def context_admin_required
    if !current_user.try(:context_admin)
      flash[:notice] = "You must be an admin to access that area."
      redirect_to '/'
    end
  end
end
{'fraction_non_alphanumeric': 0.06510416666666667, 'fraction_numerical': 0.0, 'mean_word_length': 3.523529411764706, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '5388303', 'n_tokens_mistral': 229, 'n_tokens_neox': 226, 'n_words': 62}