Skip to content

Commit c2ce0d1

Browse files
Only show published tweets in Atom feed
[#1]
1 parent 86251a2 commit c2ce0d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/tweets_controller.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
class TweetsController < ApplicationController
22
def index
3-
@tweets = Tweet.first 20
3+
@tweets = Tweet.published.first 20
44
end
55

66
def show

0 commit comments

Comments
 (0)