TryGhost/Ghost — pull request #3702 by ErisDS (2014-08-08 16:29:24+00:00)
Title: Switch middleware order to result in proper error

fixes #3694

- Split the res.isAdmin check out into it's own thing because we need to detect whether we are in the admin, before everything else

cc @hswolff