fixed error check in pages controller
Merge branch 'master' of github.com:makeready/dramatic