fix distributed spelling problem
This commit is contained in:
@@ -132,7 +132,7 @@ module Suppliers
|
||||
def arrange_tables
|
||||
@section = Section.find_by_supplier_and_id(current_supplier, params[:id])
|
||||
case params[:option]
|
||||
when 'distribute' then @section.arrange_tables_in_grid
|
||||
when 'distributed' then @section.arrange_tables_in_grid
|
||||
when 'by_row' then @section.arrange_tables_in_rows_of(params[:row_count].to_i)
|
||||
when 'by_column' then @section.arrange_tables_in_columns_of(params[:column_count].to_i)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user