lib/generators/bobot/templates/config/initializers/bobot.rb in bobot-2.3.0 vs lib/generators/bobot/templates/config/initializers/bobot.rb in bobot-2.5.0
- old
+ new
@@ -12,10 +12,10 @@
config.domains = bobot_config["domains"],
config.debug_log = bobot_config["debug_log"],
config.async = bobot_config["async"],
bobot_config["pages"].each do |page|
config.pages << Bobot::Configuration::Page.new(
- name: page["name"],
+ slug: page["slug"],
language: page["language"],
page_access_token: page["page_access_token"],
page_id: page["page_id"],
)
end