Sha256: b125199e1228e9cee8dbffff98fbf60018714510a81acd3ae46191e14b3d165d

Contents?: true

Size: 511 Bytes

Versions: 104

Compression:

Stored size: 511 Bytes

Contents

class RemoteExecutionFeaturesController < ::ApplicationController
  before_action :find_resource, :only => [:show, :update]
  include ::Foreman::Controller::Parameters::RemoteExecutionFeature

  def index
    @remote_execution_features = resource_base.all
  end

  def show
  end

  def update
    if @remote_execution_feature.update(remote_execution_feature_params)
      process_success :object => @remote_execution_feature
    else
      process_error :object => @remote_execution_feature
    end
  end

end

Version data entries

104 entries across 104 versions & 1 rubygems

Version Path
foreman_remote_execution-10.0.3 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-10.0.2 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-10.0.1 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-10.0.0 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-8.3.0 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-9.1.0 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-8.2.1 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-8.2.0 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-9.0.1 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-9.0.0 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-8.1.2 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-8.1.1 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-8.1.0 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-7.2.2 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-7.2.1 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-7.2.0 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-5.0.8 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-8.0.0 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-7.1.1 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-7.1.0 app/controllers/remote_execution_features_controller.rb