Behavior for ApplicationController in Engine in Rails 3

I am wondering what the expected behavior for ApplicationControllers is in an Engine when there is an ApplicationController in the app. Also what is the expected behavior for the multiple Engines with ApplicationControllers.

I'm asking because I'm getting Tog ready for Rails 3. I have it working on edge, but I have to copy the code from the ApplicationController in the plugins into the main ApplicationController for the app. I'm sure there must be a better way than this.

Until it's clear how this will work, I'd suggest your engines distribute behaviour that needs to be a part of ApplicationController as modules, which can then be either manually or automatically included into the application's ApplicationController; no copying required.

-- James