Hello, I allready asked about embedding an engine view from an app view 
: using partials works fine.

Now, my main app needs to ask my publish engine : give me a "news" 
block. This block of datas will be embedded in the site's main page.
What are the news, how to retrieve and how to format them is a job for 
the engine.

Unfortunately I really don't know how to achieve this. What I want to do 
is calling an engine controller (which retrieve the news, then render 
the view accordingly) from an app view.


Embedding "black-boxed" datas from an engine in the app (or may be into 
another engine view) is certainly a common need for every engines users 
and I'm pretty sure there is an elegant solution I'm been missing.

Thanks

-- 
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

Reply via email to