We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86251a2 commit c2ce0d1Copy full SHA for c2ce0d1
app/controllers/tweets_controller.rb
@@ -1,6 +1,6 @@
1
class TweetsController < ApplicationController
2
def index
3
- @tweets = Tweet.first 20
+ @tweets = Tweet.published.first 20
4
end
5
6
def show
0 commit comments