Controller calling ..?

How can i call a function/method defined in a controller into another
view … ?

Hermant,

this sounds lika a violation of the MVC pattern. You might want to
rethink your design.

Regards
Nicolai

2009/7/13 Hemant B. [email protected]:

How can i call a function/method defined in a controller into another
view … ?

Possibly put the method in the model instead.

Colin

Thanks Champs …
Got it … :slight_smile:

Colin L. wrote:

2009/7/13 Hemant B. [email protected]:

How can i call a function/method defined in a controller into another
view … ?

Possibly put the method in the model instead.

Colin

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