fix distributed spelling problem

This commit is contained in:
2012-11-20 20:44:26 +01:00
parent d177a450fa
commit c74b9ae04b
3 changed files with 4 additions and 2 deletions
@@ -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