New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish route for learn to drive task list page #250

merged 1 commit into from Oct 20, 2017
Jump to file or symbol
Failed to load files and symbols.
+27 −0
Diff settings


Just for now

Copy path View file
@@ -9,4 +9,31 @@ namespace :publishing_api do
task :send_published_tags => :environment do
desc "Publish task list to publishing api"
task publish_task_list: :environment do
content_id = "e01e924b-9c7c-4c71-8241-66a575c2f61f"
params = {
base_path: "/learn-to-drive-a-car",
publishing_app: "collections-publisher",
rendering_app: "collections",
update_type: "major",
schema_name: "generic",
document_type: "task_list",
title: "Learn to drive a car: step by step",
description: "Check what you need to do to learn to drive.",
details: {},
locale: "en",
routes: [
path: "/learn-to-drive-a-car",
type: "exact"
Services.publishing_api.put_content(content_id, params)
ProTip! Use n and p to navigate between commits in a pull request.