view app/controllers/tweets_controller.rb @ 24:c1783bab9035

Mark optional settings.
author edogawaconan <me@myconan.net>
date Fri, 05 Sep 2014 23:36:55 +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