Sha256: ddd05993543d280c11a7736b050e6778380e7256696f312b97bef662b3f6a5d4

Contents?: true

Size: 376 Bytes

Versions: 5

Compression:

Stored size: 376 Bytes

Contents

module Api
  module V2
    class ComputeResourcesController < V1::ComputeResourcesController

      include Api::Version2
      include Api::TaxonomyScope

      def index
        super
        render :template => "api/v1/compute_resources/index"
      end

      def show
        super
        render :template => "api/v1/compute_resources/show"
      end

    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_discovery-1.0.0 test/foreman_app/app/controllers/api/v2/compute_resources_controller.rb
foreman_discovery-1.0.0.rc4 test/foreman_app/app/controllers/api/v2/compute_resources_controller.rb
foreman_discovery-1.0.0.rc3 test/foreman_app/app/controllers/api/v2/compute_resources_controller.rb
foreman_discovery-1.0.0.rc2 test/foreman_app/app/controllers/api/v2/compute_resources_controller.rb
foreman_discovery-1.0.0.rc1 test/foreman_app/app/controllers/api/v2/compute_resources_controller.rb