Adam Williams wrote: > On May 27, 2007, at 5:48 PM, Stephane B. wrote: > >> >> Is it a matter of Radiant extension mechanism ? >
> > If you do not care for the solution you have in place, you could > place your code in a file like <ext>/lib/radiant/admin_ui_ext.rb, > then in your extension loader, 'require "radiant/admin_ui_ext"'. Now > the ugly is in the fact that you have a file named slightly > differently than the class it contains, and reloading will not work, > as far as I understand dependencies.rb (a Rails thing). > > So, I guess you may have to leave it the way it is. > > adam williams I tried to do like this and I got "already initialized constant" error message. But mechanism is now clear for me. thanks for the help :) -- Posted via http://www.ruby-forum.com/. _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
