Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Register the correct URL

  • Loading branch information...
commit 1e6e6ad9cad2a01a7d9485f7b704b01a5802dca6 1 parent ec2570b
@craigw craigw authored
Showing with 2 additions and 5 deletions.
  1. +2 −5 lib/tasks/router.rake
View
7 lib/tasks/router.rake
@@ -25,9 +25,9 @@ namespace :router do
task :register_routes => [ :router_environment, :environment ] do
begin
- @logger.info "Registering prefix /fco"
+ @logger.info "Registering prefix /travel-advice"
@router.routes.create application_id: "fco", route_type: :prefix,
- incoming_path: "/fco"
+ incoming_path: "/travel-advice"
rescue => e
puts [ e.message, e.backtrace ].join("\n")
end
@@ -44,6 +44,3 @@ namespace :router do
desc "Register fco application and routes with the router (run this task on server in cluster)"
task :register => [ :register_application, :register_routes ]
end
-
-
-http://fco.preview.alphagov.co.uk/travel-advice
Please sign in to comment.
Something went wrong with that request. Please try again.