major usability improvements

This commit is contained in:
2015-08-18 16:00:10 +02:00
parent 9cadc3e94f
commit 8a5c2e5b74
47 changed files with 423 additions and 178 deletions
@@ -18,7 +18,7 @@ module Suppliers
def switch_to
@switch_supplier = Supplier.find(params[:id])
session[:supplier_id] = params[:id] if @switch_supplier.employee_ids.include? current_employee.id
redirect_to supplier_root_path(anchor: '/my_account')
redirect_to supplier_root_path(anchor: '/my-account')
end
def mark_as_open