Added view composer to editHasOne action