错误 "无法配置到 'Auto Send Messages' 的链接。请确保已禁用广告拦截器,然后重载页面。"

Hmm it would be great if you could follow Creating consistent admin interfaces (plugin section). Most information you need is there.

Right off the bat I’m going to suggest a few things

  • use settings.yml instead of defining your settings in plugin.rb
  • add_admin_route "auto_send_messages.title", "auto-send-messages", use_new_show_route: true
2 个赞