Class: Api::V1::TemplateKindsController

Inherits:
BaseController show all
Defined in:
app/controllers/api/v1/template_kinds_controller.rb

Instance Method Summary collapse

Methods included from Api::Version1

#api_version

Methods inherited from BaseController

#get_resource, #resource_class, #resource_name, #resource_scope

Methods included from Foreman::ThreadSession::Cleaner

#clear_thread, included

Instance Method Details

#indexObject


9
10
11
# File 'app/controllers/api/v1/template_kinds_controller.rb', line 9

def index
  @template_kinds = TemplateKind.paginate(paginate_options)
end