I’m following http://edgeguides.rubyonrails.org/plugins.html and at
chapter 8, I’m told to add:
ActionController::Routing::RouteSet::Mapper.send :include,
Yaffle::Routing::MapperExtensions
In order to add the routes of my plugin in my Rails app…
Unfortunately, ActionController::Routing is deprecated in Rails 3 and I don’t find anything to replace it in ActionDispatch,
What should I use instead?
Thanks in advance,
Ben
Use Keith Schacht code ! 🙂