Class: RemoteExecutionFeaturesController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- RemoteExecutionFeaturesController
- Includes:
- Foreman::Controller::Parameters::RemoteExecutionFeature
- Defined in:
- app/controllers/remote_execution_features_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
5 6 7 |
# File 'app/controllers/remote_execution_features_controller.rb', line 5 def index @remote_execution_features = resource_base.all end |
#show ⇒ Object
9 10 |
# File 'app/controllers/remote_execution_features_controller.rb', line 9 def show end |
#update ⇒ Object
12 13 14 15 16 17 18 |
# File 'app/controllers/remote_execution_features_controller.rb', line 12 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 |