view app/controllers/tweets_controller.rb @ 23:b82d86b74636

Update variable names.
author edogawaconan <me@myconan.net>
date Fri, 05 Sep 2014 23:26:34 +0900
parents 207917e41964
children 70d70736faee
line wrap: on
line source

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