I created a rails plugin with rails plugin new my_plugin. I want my plugin to create a route which maps to a controller/method inside my plugin.
rails plugin new my_plugin
I followed t