for creating new controller instance, or getting controller class name and action method name, is a var because it will be updated for caching
You can write: if (currentAction == MyController.
You can write: if (currentAction == MyController.index) ...
for creating new controller instance, or getting controller class name and action method name, is a var because it will be updated for caching
for creating new controller instance, or getting controller class name and action method name, is a var because it will be updated for caching