Sha256: 9293a99aabc974800aa1d368009e126c514c6caa575c04d25f4e1d6aec486610

Contents?: true

Size: 350 Bytes

Versions: 5

Compression:

Stored size: 350 Bytes

Contents

module Api
  module V2
    class HostgroupsController < V1::HostgroupsController

      include Api::Version2
      include Api::TaxonomyScope

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

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