Sha256: 085ea8ceb15d430cbbb8d9a865cd502b53e9be00cdc74676d57d6be87780e00f

Contents?: true

Size: 522 Bytes

Versions: 6

Compression:

Stored size: 522 Bytes

Contents

class RemoteExecutionFeaturesController < ::ApplicationController
  before_filter :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

6 entries across 6 versions & 1 rubygems

Version Path
foreman_remote_execution-1.3.0 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-1.2.2 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-1.2.1 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-1.2.0 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-1.1.1 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-1.1.0 app/controllers/remote_execution_features_controller.rb