You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: inbox_controller.rb
    path of file: ./repos/retrospring/app/controllers
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

class InboxController < ApplicationController
  before_action :authenticate_user!

  def show
    find_inbox_entries

    @delete_id = find_delete_id
    @disabled = true if @inbox.empty?

    mark_inbox_entries_as_read

    respond_to do |format|
      
    
  def create
    question = Question.create!(content:             QuestionGenerator.generate,
                                author_is_anonymous: true,
                                author_identifier:   "justask",
                                user:                current_user)

    inbox = InboxEntry.create!(user: current_user, question_id: question.id, new: true)
    increment_metric

    respond_to do |format|
      format.turbo_stream do
        render turbo_stream: turbo_stream.prepend("entries", partial: "inbox/entry", locals: { i: inbox })

        inbox.update(new: false)
      end

      format.html { redirect_to inbox_path }
    end
  end