From 005d2b9d33986001551b171e2f15853ae5690697 Mon Sep 17 00:00:00 2001 From: David Gay Date: Mon, 5 Jul 2021 16:12:19 -0400 Subject: Hook aetherloom up to hearth controller --- app/controllers/characters/hearth_controller.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app') 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 -- cgit v1.2.3