fixed views generators error #282

The migrations and controllers could not be generated because of a
syntax error.
fixes #282