Skip to content

Commit

Permalink
lint: remove redundant all from activerecord model
Browse files Browse the repository at this point in the history
  • Loading branch information
Floppy committed Oct 10, 2023
1 parent ac6c1a3 commit 7953479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/concerns/model_filters.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def get_filters
end

def process_filters_init
@models = Model.all.includes(:tags, :preview_file, :creator, :collection)
@models = Model.includes(:tags, :preview_file, :creator, :collection)
end

def process_filters_tags_fetchall
Expand Down

0 comments on commit 7953479

Please sign in to comment.