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: projects_controller.rb
    path of file: ./repos/gitlabhq/app/controllers
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

class ProjectsController < Projects::ApplicationController
  include API::Helpers::RelatedResourcesHelpers
  include IssuableCollections
  include ExtractsPath
  include PreviewMarkdown
  include SendFileUpload
  include 
    
  def new
    @namespace = Namespace.find_by(id: params[:namespace_id]) if params[:namespace_id]
    return access_denied! if @namespace && !can?(current_user, :create_projects, @namespace)

    @parent_group = Group.find_by(id: params[:namespace_id])

    manageable_groups = ::Groups::AcceptingProjectCreationsFinder.new(current_user).execute.limit(2)

    if manageable_groups.empty? && !can?(current_user, :create_projects, current_user.namespace)
      return access_denied!
    end