Sha256: d507f495c214f648c2c2ed4ad20cbfe15d70933393c44863a132de1036913710

Contents?: true

Size: 521 Bytes

Versions: 47

Compression:

Stored size: 521 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_attributes(remote_execution_feature_params)
      process_success :object => @remote_execution_feature
    else
      process_error :object => @remote_execution_feature
    end
  end

end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
foreman_remote_execution-2.0.10 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-2.0.9 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-2.0.8 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-3.0.3 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-3.0.2 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-2.0.7 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-3.0.1 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-3.0.0 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-2.0.6 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-2.0.5 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-2.0.4 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-2.0.3 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-2.0.2 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-2.0.1 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-2.0.0 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-1.8.4 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-1.8.3 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-1.8.2 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-1.8.1 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-1.8.0 app/controllers/remote_execution_features_controller.rb