diff options
Diffstat (limited to 'app/controllers')
-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 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 |