changes to rails dashboard controller