lundi 12 mars 2018

actions in same model , restricting some functions in common

In a rails application , there is an action in a model which used by other actions in the same model ... but in this common action some functions such as ' func1 func 2' must not be used by some of the actions refferred,

is there an easy way of implementing this ?

Aucun commentaire:

Enregistrer un commentaire