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.
Merge pull request #1293 from alex-m/patch-2

Update 2-5-migration-guide.rst