fix empty repository error
split history action off of files controller