Class: Katello::RemoteExecutionController
- Inherits:
-
ApplicationController
show all
- Defined in:
- app/controllers/katello/remote_execution_controller.rb,
app/controllers/katello/remote_execution_controller.rb
Instance Method Summary
collapse
#authorized, #current_organization, #current_organization=, #default_label, #default_label_assigned, #escape_html, #flash_to_headers, #format_time, #generate_label, #label_overridden, #n_gettext_for_generate_label, #no_env_available_msg, #parse_calendar_date, #permission_denied, #render_correct_nav, #section_id
Instance Method Details
#create ⇒ Object
8
9
10
11
12
13
14
15
16
|
# File 'app/controllers/katello/remote_execution_controller.rb', line 8
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
|
#new ⇒ Object
4
5
6
|
# File 'app/controllers/katello/remote_execution_controller.rb', line 4
def new
@composer = prepare_composer
end
|