Class: PoolsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- PoolsController
- Defined in:
- app/controllers/pools_controller.rb
Instance Method Summary collapse
-
#index ⇒ Object
GET /pools or /pools.json.
-
#show ⇒ Object
GET /pools/1 or /pools/1.json.
Methods inherited from ApplicationController
#home, #mining_profile, #privacy_policy, #terms
Instance Method Details
#index ⇒ Object
GET /pools or /pools.json
8 9 10 |
# File 'app/controllers/pools_controller.rb', line 8 def index @pools = Pool.all end |
#show ⇒ Object
GET /pools/1 or /pools/1.json
13 14 |
# File 'app/controllers/pools_controller.rb', line 13 def show end |