Class: Api::V1::FinancialTransactionTypesController
- Inherits:
-
BaseController
- Object
- BaseController
- Api::V1::FinancialTransactionTypesController
- Includes:
- Concerns::CollectionScope
- Defined in:
- app/controllers/api/v1/financial_transaction_types_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
4 5 6 |
# File 'app/controllers/api/v1/financial_transaction_types_controller.rb', line 4 def index render json: search_scope end |
#show ⇒ Object
8 9 10 |
# File 'app/controllers/api/v1/financial_transaction_types_controller.rb', line 8 def show render json: scope.find(params.require(:id)) end |