Actually sort Conditions alphabetically by name

This commit is contained in:
The Stranjer 2019-06-12 09:21:29 -04:00
parent 7c56785f53
commit 75b94f69fa

View File

@ -94,7 +94,7 @@ class ShardsOfPower
@spells = Spell.spells
@conditions = Condition.conditions
@conditions.sort_by(&:name)
@conditions.sort_by!(&:name)
puts "Creating PDF object..."
@pdf = Prawn::Document.new(:margin => 0)