Embed engine view in app view?

Hi, I would to know of to have my app inserting an engine generated html
(view ? string ?)

Eg. the main page of the web needs to display the last messages of a
forum engine.
The forum engine have to retrieve the datas and format them.

What is the preferred solution ?

Thanks

You should probably use partials for this - you can render partials
which belong to an engine in any view in your application.

  • james

On 3/25/06, Guest [email protected] wrote:


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

  • J *
    ~

render_component might do what you see as well, as long as that action
has a
partial attached to it instead of a full view. I have done this in a few
places myself.

-Nb

On 3/25/06 12:45 AM, “James A.” [email protected] wrote:

forum engine.
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org

Nathaniel S. H. Brown                        http://nshb.net

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs