Disable view in controller