Need the command, not config

This commit is contained in:
David Heinemeier Hansson
2023-01-27 16:57:02 +01:00
parent 0111fcc4e4
commit 979b7d80ba

View File

@@ -74,7 +74,7 @@ class Mrsk::Commander
end
def accessory(name)
config.accessories.detect { |a| a.name == name }
Mrsk::Commands::Accessory.new(config, name: name)
end