adminarchitect / core

AdminArchitect - Active Admin for Laravel
http://adminarchitect.com
MIT License
211 stars 66 forks source link

Problem with Saver #17

Closed YulKard closed 6 years ago

YulKard commented 6 years ago

Good day. I want to send a message to user, when admin register him. I creates a Saver Users.php. But when I add a function sync() and called parent method sync I have an error http://joxi.ru/nAy8E8EuY0ZXw2 but element was saved. In this place eloquent rerurns as NULL. If you edit the element, then everything works correctly. My Saver http://joxi.ru/D2PQbQbtpP7deA. I have the latest version of AdminArchitect. Please, tell what is wrong. Thank you for advance.

endihunter commented 6 years ago

@YulKard you should return the repository, your code doesn't return it.