Class: Api::V2::UsersController

Inherits:
Api::V1::UsersController show all
Includes:
TaxonomyScope, Api::Version2
Defined in:
app/controllers/api/v2/users_controller.rb

Instance Method Summary collapse

Methods included from TaxonomyScope

#set_taxonomy_scope

Methods included from Api::Version2

#api_version

Methods inherited from Api::V1::UsersController

#create, #destroy, #update

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


8
9
10
11
# File 'app/controllers/api/v2/users_controller.rb', line 8

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

#showObject


13
14
15
16
# File 'app/controllers/api/v2/users_controller.rb', line 13

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