Class: Cats::Core::SwapsController
- Inherits:
 - 
      ApplicationController
      
        
- Object
 - ActionController::API
 - ApplicationController
 - Cats::Core::SwapsController
 
 
- Includes:
 - Common
 
- Defined in:
 - app/controllers/cats/core/swaps_controller.rb
 
Instance Method Summary collapse
Methods included from Common
Methods inherited from ApplicationController
#authenticate, #current_user, #skip_bullet
Instance Method Details
#index ⇒ Object
      6 7 8 9 10  | 
    
      # File 'app/controllers/cats/core/swaps_controller.rb', line 6 def index super do Swap.includes(:issued_commodity, :issued_unit, :received_commodity, :received_unit).all end end  |