Class: PipelinesController
- Inherits:
-
ApplicationController
- Object
- ActionController::API
- ApplicationController
- PipelinesController
- Defined in:
- app/controllers/pipelines_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
3 4 5 |
# File 'app/controllers/pipelines_controller.rb', line 3 def index render json: current_entity.pipelines end |
#show ⇒ Object
7 8 9 |
# File 'app/controllers/pipelines_controller.rb', line 7 def show render json: current_entity.pipelines.find(params[:id]) end |