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