Actually sort Conditions alphabetically by name
This commit is contained in:
parent
7c56785f53
commit
75b94f69fa
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user