annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
207917e41964 Add tweets~
edogawaconan <me@myconan.net>
parents:
diff changeset
1 class TweetsController < ApplicationController
207917e41964 Add tweets~
edogawaconan <me@myconan.net>
parents:
diff changeset
2 def show
207917e41964 Add tweets~
edogawaconan <me@myconan.net>
parents:
diff changeset
3 @tweets = Tweet.new(params[:id]).timeline
207917e41964 Add tweets~
edogawaconan <me@myconan.net>
parents:
diff changeset
4 @user = @tweets.first.user
207917e41964 Add tweets~
edogawaconan <me@myconan.net>
parents:
diff changeset
5 end
207917e41964 Add tweets~
edogawaconan <me@myconan.net>
parents:
diff changeset
6 end