This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Register the correct URL

  • Loading branch information...
craigw committed Nov 30, 2011
1 parent ec2570b commit 1e6e6ad9cad2a01a7d9485f7b704b01a5802dca6
Showing with 2 additions and 5 deletions.
  1. +2 −5 lib/tasks/router.rake
View
@@ -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

0 comments on commit 1e6e6ad

Please sign in to comment.