Sha256: f62a8e6ad40f4c0c065acf5a430a95acac9bb70bcc327837b46054f7be02b99a

Contents?: true

Size: 456 Bytes

Versions: 4

Compression:

Stored size: 456 Bytes

Contents

class RemoteExecutionFeaturesController < ::ApplicationController
  before_filter :find_resource, :only => [:show, :update]

  def index
    @remote_execution_features = resource_base.all
  end

  def show
  end

  def update
    if @remote_execution_feature.update_attributes(params[:remote_execution_feature])
      process_success :object => @remote_execution_feature
    else
      process_error :object => @remote_execution_feature
    end
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
foreman_remote_execution-1.0.0 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-0.3.2 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-0.3.1 app/controllers/remote_execution_features_controller.rb
foreman_remote_execution-0.3.0 app/controllers/remote_execution_features_controller.rb