Thanks James, valuable answer as allways ;-) And then comes the next (and last I hope) problem :
mysite/app/controllers/site_controller with action index -> which render the view mysite/app/views/index.rhtml --> which contains <%= render_component :controller => ArticlesController, :action => "newarticles" %> ---> which calls controller (uses_component_template_root) MYENGINE_ROOT/app/controllers/articles_controller with action newarticles ----> which render MYENGINE_ROOT/app/controllers/newarticles.rhtml !!! <-- GOTCHA HERE ### Why does it tries to find the view in this directory instead of views directory ? I had to use render "../views/newsarticles" Any idea ? Am I doing something wrong ? -- 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
