A lot of my users keep going to http://(rails app URL)/blog
, but I don't actually have a blog. I finally setup a Posterous blog and now want to direct my users there. Is there a way to configure this using routes.rb? Is there a better way that doesn't involve editing the httpd.conf file?
I know this is old, so in case someone else needs this for rails 4:
get "/blog" => redirect("http://example.com/blog")
Use get instead of Match in Rails 4, otherwise you'll get a Runtime error