Sha256: 7d5842e294489569fe9ea3e2264021d167e1da7c2c88db07f6e261cec072249a

Contents?: true

Size: 358 Bytes

Versions: 5

Compression:

Stored size: 358 Bytes

Contents

module Api
  module V2
    class EnvironmentsController < V1::EnvironmentsController

      include Api::Version2
      include Api::TaxonomyScope

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

      def show
        super
        render :template => "api/v1/environments/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/environments_controller.rb
foreman_discovery-1.0.0.rc4 test/foreman_app/app/controllers/api/v2/environments_controller.rb
foreman_discovery-1.0.0.rc3 test/foreman_app/app/controllers/api/v2/environments_controller.rb
foreman_discovery-1.0.0.rc2 test/foreman_app/app/controllers/api/v2/environments_controller.rb
foreman_discovery-1.0.0.rc1 test/foreman_app/app/controllers/api/v2/environments_controller.rb