Class: BetterRecord::TableSizesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- BetterRecord::TableSizesController
- Defined in:
- app/controllers/better_record/table_sizes_controller.rb
Instance Method Summary collapse
-
#index ⇒ Object
GET /table_sizes.
-
#show ⇒ Object
GET /table_sizes/1.
Instance Method Details
#index ⇒ Object
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 |
#show ⇒ Object
GET /table_sizes/1
14 15 |
# File 'app/controllers/better_record/table_sizes_controller.rb', line 14 def show end |