Class: ForemanRhCloud::ForemanRhCloudController

Inherits:
ApplicationController
  • Object
show all
Includes:
IopSmartProxyAccess
Defined in:
app/controllers/foreman_rh_cloud/foreman_rh_cloud_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



9
10
11
12
# File 'app/controllers/foreman_rh_cloud/foreman_rh_cloud_controller.rb', line 9

def index
  response.headers['X-Request-Path'] = request.path
  render("react/index", formats: [:html])
end

#inventory_uploadObject



14
15
16
# File 'app/controllers/foreman_rh_cloud/foreman_rh_cloud_controller.rb', line 14

def inventory_upload
  index
end

#recommendationsObject



18
19
20
# File 'app/controllers/foreman_rh_cloud/foreman_rh_cloud_controller.rb', line 18

def recommendations
  index
end