Currently I am running my app on Rails 2.3.8 and decided to move it to Rails 3.
I have a route in routes.rb
.
ActionController::Routing::Routes.draw do |map|
map.from_plugin :substruct
end
I could not find equivalent format in Rails 3. How do I modify that ?
As of Rails 2.3 map.from_plugin is deprecated as it auto handles the mappings for newer plugins.
As glongman said in the comment to your questions please check the Basic Substruct App which is a basic demo application to allow the new Substruct Plugin fork for Rails to work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With