Fix env() call in controller to use config() instead
