>> I have this code in init.rb of a test plugin, but it does not make my
>> controller work that I have inside the plugin.

Your plugin controllers can't really subclass ApplicationController or
any other application components as they'll get reset each request in
development mode.  If a plugin wants to include a controller it'll
have to subclass ActionController::Base directly or, as your snippet
does, make that controller reload each request.


-- 
Cheers

Koz

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to rubyonrails-c...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-core+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to