From 56df91158b8aaeea1b7caab27da9f739129f52c9 Mon Sep 17 00:00:00 2001 From: David Gay Date: Thu, 3 Jun 2021 19:04:14 -0400 Subject: Plug in Spicework --- app/controllers/characters/hearth_controller.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/controllers/characters') diff --git a/app/controllers/characters/hearth_controller.rb b/app/controllers/characters/hearth_controller.rb index 8e32ab0..86757d8 100644 --- a/app/controllers/characters/hearth_controller.rb +++ b/app/controllers/characters/hearth_controller.rb @@ -6,6 +6,7 @@ class Characters::HearthController < ApplicationController @amenity_activities = { forge: [], labratory: [], + spicebench: [], } Activity.where("gid like ?", "craft_%").each do |activity| @@ -17,6 +18,8 @@ class Characters::HearthController < ApplicationController @amenity_activities[:forge].push(activity) && next when "labratory" @amenity_activities[:labratory].push(activity) && next + when "spicebench" + @amenity_activities[:spicebench].push(activity) && next else raise "Invalid amenity gid (#{requirement_data[:gid]}" end -- cgit v1.2.3