On Aug 10, 4:20 pm, Ezequiel Schwartzman <[email protected]> wrote:
> Well, I have a "sidebar" in a website that is rendered inside the main
> layout. What I want to do is to put the sidebar in a separated file and
> then call
>
> = render :partial => "sidebar.html.haml"
>
> Just to have them in separated files.
>
> Where is the convention to put it?
> In the root of /app/views?
> In /app/views/application?
> In /app/views/layout?
> In a separated view folder?

I often have app/views/shared or things like that.

Fred
>
> --
> Posted viahttp://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to