Update api_base_controller.rb

forgot to push changes after testing thumbnails