I follow http://edgeguides.rubyonrails.org/plugins.html and in chapter 8, I was told to add: ActionController :: Routing :: RouteSet :: Mapper.send: enable, Green Woodpecker :: Routing :: MapperExtensions
To add my plugin's routes to my Rails application ...
Unfortunately, ActionController :: Routing is deprecated in Rails 3, and I did not find anything to replace it in ActionDispatch.
What should I use instead?
Thanks in advance,
Ben
source
share