Class: Admin::SimpleBlocksController

Inherits:
AdminController
  • Object
show all
Includes:
ToggleableEntity
Defined in:
app/controllers/admin/simple_blocks_controller.rb

Overview

Administrative part of simple_blocks management

Instance Method Summary collapse

Methods included from ToggleableEntity

#toggle

Instance Method Details

#indexObject

get /admin/simple_blocks



10
11
12
# File 'app/controllers/admin/simple_blocks_controller.rb', line 10

def index
  @collection = SimpleBlock.list_for_administration
end

#showObject

get /admin/simple_blocks/:id



15
16
# File 'app/controllers/admin/simple_blocks_controller.rb', line 15

def show
end