Skip to content

Instantly share code, notes, and snippets.

View wielinde's full-sized avatar

Wieland Lindenthal wielinde

View GitHub Profile
@wielinde
wielinde / routes.rb
Last active February 3, 2016 11:28 — forked from furkanayhan/blog_controller.rb
You can mount your Tumblr Blog to your existing Rails app on /news. It is SEO optimized as it tells Google only to index yourdomain.com and not yourdomain.tumblr.com routes. Forked from: https://gist.github.com/petewarden/3950261
YourApp::Application.routes.draw do
get '/news(/*tumblr_path)' => "tumblr#proxy"
end