Skip to content

Commit

Permalink
reduce the page size
Browse files Browse the repository at this point in the history
  • Loading branch information
lvangool committed Nov 19, 2024
1 parent e61da6a commit 52adea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/flowers_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def random_color
end

def handle_flower_creation
if Flower.count == 20
if Flower.count >= 16
remove_random_flowers
else
create_success_response
Expand Down

0 comments on commit 52adea6

Please sign in to comment.