Change RailsZero.pages_config to .config and .configure_pages to .configure.