summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-07-05 16:12:19 -0400
committerDavid Gay <david@davidgay.org>2021-07-05 16:12:19 -0400
commit005d2b9d33986001551b171e2f15853ae5690697 (patch)
treeb44d0529742cf8721715dc93d5e735a87b679dfe /app/controllers
parent95cda5ca454506425463c20d299a224befbd240c (diff)
Hook aetherloom up to hearth controller
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/characters/hearth_controller.rb3
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