view 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
line wrap: on
line source

class TweetsController < ApplicationController
  def show
    @tweets = Tweet.new(params[:id]).timeline
    @user = @tweets.first.user
  end
end