view app/controllers/tweets_controller.rb @ 16:fff788625214

Add basic hgignore.
author edogawaconan <me@myconan.net>
date Fri, 05 Sep 2014 20:37:56 +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