On Rails 3, I\'m trying to redirect from a URL without a trailing slash to the canonical URL that has a slash.
match \"/test\", :to => redirect(\"/test/\"
Maybe it works with
match "/test$", :to => redirect("/test/")