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-4.5.1 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-4.6.0 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-4.5.0 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-4.4.0 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-4.3.1 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-4.3.0 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-4.2.3 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-4.2.2 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-4.2.1 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-4.2.0 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-4.1.0 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-3.3.7 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-4.0.0 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-3.3.6 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-3.3.5 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-3.3.4 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-3.3.3 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-3.2.2 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-3.3.2 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-3.3.1 app/controllers/remote_execution_features_controller.rb