forward() might be helpful. I didn’t notice it at first!
But, my point is, when i’m creating a property, i want to create a new image related to it! Now, I don’t want to totally give control to that controller! as render should be called from property controller and not from image controller.
Ok, situation is , when i’m creating a property, i’m checking if user email is existing, if not i’m adding to user table(i.e. new user created). Now, if i add user creation into property table, then its logically wrong isn’t it? user creation should be handled by user controller itself. as there might be other events where i would like to handle user creation or updates etc. So to avoid duplicate code, i wanted to keep it in separate classes…
What is behavior? or event? Can that be used in any way, in such situations?