Fewer routes; Redirect to canonical URLs
authorChristian Johansen <christian@gitorious.com>
Thu, 1 Nov 2012 18:02:29 +0000 (19:02 +0100)
committerChristian Johansen <christian@gitorious.com>
Thu, 1 Nov 2012 18:02:29 +0000 (19:02 +0100)
commite36f90d10f347b691ccd1fdec42ce23ba2a7ae6c
tree962c7001e56480140c854c5eb9da1d858758d143
parent7b894dfbdd2f27512ad3224801644ca8febf3d58
Fewer routes; Redirect to canonical URLs

Clean up routing by adding a controller that redirects
/{user,group}/{repository,project}/* to /project{/repository}/*
app/controllers/owner_redirections_controller.rb [new file with mode: 0644]
config/routes.rb
test/functional/owner_redirections_controller_test.rb [new file with mode: 0644]
test/functional/routing_test.rb
test/integration/routing_test.rb