Where plugins use engines are these created in the regular rails way using something like
rails plugin new myplugin --mountable in the discourse root directory?
I have git cloned “discourse-links-category” to see what other people do. Within that plugin I don’t find config/routes.rb. Instead it seems to do the same job with code in plugin.rb.
Do I simply add this engine code into plugin.rb (adjusted for what I want) ?