diff options
Diffstat (limited to 'controllers/cartridges.rb')
-rw-r--r-- | controllers/cartridges.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controllers/cartridges.rb b/controllers/cartridges.rb index 151cc46..fe0d56e 100644 --- a/controllers/cartridges.rb +++ b/controllers/cartridges.rb @@ -39,7 +39,7 @@ module NanoBot rescue StandardError => _e end - cartridges.sort_by { |cartridge| cartridge[:meta][:name] } + cartridges = cartridges.sort_by { |cartridge| cartridge[:meta][:name] } cartridges.prepend( { system: { id: '-' }, meta: { name: 'Default', symbol: '🤖' } } |