Sha256: b125199e1228e9cee8dbffff98fbf60018714510a81acd3ae46191e14b3d165d

Contents?: true

Size: 511 Bytes

Versions: 99

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

99 entries across 99 versions & 1 rubygems

Version Path
foreman_remote_execution-14.1.2 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-14.1.1 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-14.1.0 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-14.0.2 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-14.0.1 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-13.2.6 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-14.0.0 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-13.2.5 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-13.2.4 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-13.2.3 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-13.2.2 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-12.0.7 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-13.2.1 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-13.2.0 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-10.1.3 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-13.0.0 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-12.0.5 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-12.0.4 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-12.0.1 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-12.0.2 app/controllers/remote_execution_features_controller.rb