Include once in partial


#1

Hi!

I have to include javascript code into my partial but I should do it
once. How can I do that?
What is the rule of thumb?

Gábor


#2

On Thu, 2006-03-16 at 17:19 +0100, Gábor Sebestyén wrote:

Hi!

I have to include javascript code into my partial but I should do it
once. How can I do that?
What is the rule of thumb?


you would put it into whichever file has the

code which is generally the ‘layout’ file for the controller.

Craig