<commit_before>class ItemsController < ApplicationController
    before_action :authenticate_user!
    before_action :current_item

	def index
		@items = current_user.items
	end

	def show
		@item = Item.find(params[:id])
	end<commit_msg>items controller updated for views<commit_after>class ItemsController < ApplicationController
    before_action :authenticate_user!
    before_action :current_item, :only =>[:show, :edit, :update, :destroy]

	def index
		@items = current_user.items
	end

	def show
	end
{'fraction_non_alphanumeric': 0.08086785009861933, 'fraction_numerical': 0.0, 'mean_word_length': 5.195121951219512, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, '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': '3204719', 'n_tokens_mistral': 161, 'n_tokens_neox': 149, 'n_words': 40}