comparison app/controllers/tweets_controller.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
children 70d70736faee
comparison
equal deleted inserted replaced
14:aad3b253ffd5 15:207917e41964
1 class TweetsController < ApplicationController
2 def show
3 @tweets = Tweet.new(params[:id]).timeline
4 @user = @tweets.first.user
5 end
6 end