Using config.app_middleware in Railtie