Unfortunately, this cannot be ... A model can only update entity classes, not views and controllers.
The trick might be to create a new controller with a new name and keep the old controller. Then copy these important codes from the old controller to the new one.
And the same approach for views
source share