Update 2-5-migration-guide.rst

$this->assign('title', 'page title'); was being split across two lines in the documentation, updated to display on single line.