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