Gem 写 Gem 的时候怎么实现像 mount Sidekiq::Web => '/sidekiq'这样的功能

Liu-XiaoDao · April 18, 2019 · Last by Liu-XiaoDao replied at April 18, 2019 · 5675 hits

我想写一个 Gem 想像 sidekiq 一样可以实现使用 mount Sidekiq::Web => '/sidekiq' 这种方法访问 Gem 中的页面,这样的 Gem 要怎么实现

Gem 和 engine 有什么区别?

Liu-XiaoDao closed this topic. 18 Apr 18:34
Liu-XiaoDao reopened this topic. 18 Apr 18:34
Liu-XiaoDao closed this topic. 18 Apr 18:34
You need to Sign in before reply, if you don't have an account, please Sign up first.