Hi all, I have a small question regarding Rails 3 / engines en routes file.
At this point, I start my routes file with the following line: Rails.application.routes.draw do |map| But, since Rails 3 RC 1, I got deprecation warnings in my app saying that Rails.application will become deprecated, using ProjectName::Application instead, but also that you need to drop the |map| parameter. Now, that is in a project, but what about engines? Since engines are small sub applications that can be used in multiple apps, you can't just use Projectname::Application. Any comments on this issue? -- Posted via http://www.ruby-forum.com/. _______________________________________________ Engine-Users mailing list [email protected] http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org
