from devel, update all_paginate to make messages_controller work