Fixed a definition error in the engine that meant the Rails constant
didn't work properly in controllers.