Class: BlocksController

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

Instance Method Summary collapse

Methods inherited from ApplicationController

#home, #mining_profile, #privacy_policy, #terms

Instance Method Details

#indexObject

GET /blocks or /blocks.json



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

def index
  @blocks = Block.all
end

#showObject

GET /blocks/1 or /blocks/1.json



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

def show
end