Class: PoolsController

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

Instance Method Summary collapse

Methods inherited from ApplicationController

#home, #mining_profile, #privacy_policy, #terms

Instance Method Details

#indexObject

GET /pools or /pools.json



8
9
10
# File 'app/controllers/pools_controller.rb', line 8

def index
  @pools = Pool.all
end

#showObject

GET /pools/1 or /pools/1.json



13
14
# File 'app/controllers/pools_controller.rb', line 13

def show
end