Pass parameter to invoked action in before action


(MuhammedSami) #1

Hello everyone sory for my poor english,

Could you please help me to figure it out, I want to make a simple control before some action inside my beforeAction.

I initialise a model with the params inside the beforeAction then I want to pass this model as parameter to the specified action to avoid making this code repetition in every action concerned.