RE: no helper methods in controller

Hmm, the API docs at
Peak Obsession
assMethods.html
probably needs to be updated. (Or does it reflect 1.0?)

‘helper :something’ doesn’t work, ‘include SomeHelper’ works.

The documentation says that the helper will be included in the “template
class”,

so writing

“helper :Something”

should make the SomethingHelper module available in the view. Not in the
controller…

/Torben

On Wed, Nov 16, 2005 at 03:16:34PM +0100, Torben Wölm wrote:

“helper :Something”

should make the SomethingHelper module available in the view. Not in the controller…

Sorry, my bad. Should’ve read more carefully.

Thanks.

Ronny