Skip to content
This repository has been archived by the owner on Apr 4, 2018. It is now read-only.

Commit

Permalink
Register the correct URL
Browse files Browse the repository at this point in the history
  • Loading branch information
craigw committed Nov 30, 2011
1 parent ec2570b commit 1e6e6ad
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions lib/tasks/router.rake
Expand Up @@ -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
Expand All @@ -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.