diff options
author | David Gay <david@davidgay.org> | 2021-07-05 16:12:19 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-07-05 16:12:19 -0400 |
commit | 005d2b9d33986001551b171e2f15853ae5690697 (patch) | |
tree | b44d0529742cf8721715dc93d5e735a87b679dfe /app/controllers/characters | |
parent | 95cda5ca454506425463c20d299a224befbd240c (diff) |
Hook aetherloom up to hearth controller
Diffstat (limited to 'app/controllers/characters')
-rw-r--r-- | app/controllers/characters/hearth_controller.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/controllers/characters/hearth_controller.rb b/app/controllers/characters/hearth_controller.rb index c525add..ab9676e 100644 --- a/app/controllers/characters/hearth_controller.rb +++ b/app/controllers/characters/hearth_controller.rb @@ -8,6 +8,7 @@ class Characters::HearthController < ApplicationController laboratory: [], spicebench: [], binding_array: [], + aetherloom: [], } Activity.where("gid like ?", "craft_%").each do |activity| @@ -23,6 +24,8 @@ class Characters::HearthController < ApplicationController @amenity_activities[:spicebench].push(activity) && next when "binding_array" @amenity_activities[:binding_array].push(activity) && next + when "aetherloom" + @amenity_activities[:aetherloom].push(activity) && next else raise "Invalid amenity gid (#{requirement_data[:gid]}" end |