Class: Katello::RemoteExecutionController

Inherits:
ApplicationController show all
Includes:
Concerns::Api::V2::BulkHostsExtensions, Concerns::Api::V2::HostErrataExtensions
Defined in:
app/controllers/katello/remote_execution_controller.rb,
app/controllers/katello/remote_execution_controller.rb

Instance Method Summary collapse

Methods inherited from ApplicationController

#authorized, #current_organization_object, #current_organization_object=, #section_id

Instance Method Details

#_routesObject



23
24
25
# File 'app/controllers/katello/remote_execution_controller.rb', line 23

def _routes
  Rails.application.routes
end

#createObject



11
12
13
14
15
16
17
18
19
# File 'app/controllers/katello/remote_execution_controller.rb', line 11

def create
  @composer = prepare_composer
  if params[:customize] != 'true' && @composer.save
    @composer.trigger
    redirect_to job_invocation_path(@composer.job_invocation)
  else
    render :action => 'new'
  end
end

#newObject



7
8
9
# File 'app/controllers/katello/remote_execution_controller.rb', line 7

def new
  @composer = prepare_composer
end