Class: BetterRecord::TableSizesController

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

Instance Method Summary collapse

Instance Method Details

#indexObject

GET /table_sizes



8
9
10
11
# File 'app/controllers/better_record/table_sizes_controller.rb', line 8

def index
  TableSize.reload_data if Boolean.parse(params[:reload])
  @table_sizes = TableSize.all
end

#showObject

GET /table_sizes/1



14
15
# File 'app/controllers/better_record/table_sizes_controller.rb', line 14

def show
end