diff config/routes.rb @ 15:207917e41964

Add tweets~ Feature is now on par with the thing it's replacing.
author edogawaconan <me@myconan.net>
date Fri, 05 Sep 2014 20:37:25 +0900
parents 82cb8887fb56
children 157f7fd136fc
line wrap: on
line diff
--- a/config/routes.rb	Fri Sep 05 19:03:15 2014 +0900
+++ b/config/routes.rb	Fri Sep 05 20:37:25 2014 +0900
@@ -5,6 +5,8 @@
   # You can have the root of your site routed with "root"
   root 'static#index'
 
+  get "*id" => "tweets#show", :defaults => { :format => :atom }
+
   # Example of regular route:
   #   get 'products/:id' => 'catalog#view'