require_dependency "tent/application_controller"

module Tent
  class SitesController < ApplicationController
    def index
    end

    def new
    end

    def create
    end
  end
end

require_dependency "tent/application_controller"

module Tent
  class SitesController < ApplicationController
    def index
      @sites = Site.all
      @site = Site.new
      @host_url = main_app.root_url
    end

    def new
    end

    def create
    end
  end
end

Add index create new method in sites controller
Add index create new method in sites controller
