Skip to content

Commit

Permalink
limit output
Browse files Browse the repository at this point in the history
  • Loading branch information
vanakenm committed Jun 9, 2020
1 parent 1d3a0a8 commit 582437f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/effin_quotes_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def index
end

def logs
@logs = EffinLog.order(created_at: :desc)
@logs = EffinLog.order(created_at: :desc).limit(50)
end

def home; end
Expand Down

0 comments on commit 582437f

Please sign in to comment.