diff app/controllers/tweets_controller.rb @ 28:03f904c070f7

Basic caching support.
author edogawaconan <me@myconan.net>
date Sat, 06 Sep 2014 00:46:25 +0900
parents 70d70736faee
children 9e03bbbb1d43
line wrap: on
line diff
--- a/app/controllers/tweets_controller.rb	Sat Sep 06 00:08:18 2014 +0900
+++ b/app/controllers/tweets_controller.rb	Sat Sep 06 00:46:25 2014 +0900
@@ -1,6 +1,7 @@
 class TweetsController < ApplicationController
   def show
     @tweets = Tweet.new(params[:id]).timeline
+
     @user = @tweets.first.user
   rescue Twitter::Error::NotFound
     head :not_found