Skip to content

Commit

Permalink
Fix indent in Term#set_is_stem
Browse files Browse the repository at this point in the history
  • Loading branch information
wildjcrt committed Feb 14, 2025
1 parent 0b436d5 commit 60fbede
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/models/term.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ def clean_name_and_set_lower_name
self.lower_name = name.downcase
end

def set_is_stem
stem_record = Stem.find_by(name: name)
if stem_record.present?
self.is_stem = true
self.stem_id = stem_record.id if stem_id.blank?
def set_is_stem
stem_record = Stem.find_by(name: name)
if stem_record.present?
self.is_stem = true
self.stem_id = stem_record.id if stem_id.blank?
end
end
end
end

0 comments on commit 60fbede

Please sign in to comment.