Class: ContractsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/contracts_controller.rb

Instance Method Summary collapse

Methods inherited from ApplicationController

#home, #mining_profile, #privacy_policy, #terms

Instance Method Details

#indexObject

GET /contracts or /contracts.json



7
8
9
# File 'app/controllers/contracts_controller.rb', line 7

def index
  @contracts = Contract.all
end

#showObject

GET /contracts/1 or /contracts/1.json



12
13
# File 'app/controllers/contracts_controller.rb', line 12

def show
end