jekuno / milia

Easy multi-tenanting for Rails5 (or Rails4) + Devise
MIT License
341 stars 72 forks source link

Use rails default error symbols for member invitation errors #60

Closed cseelus closed 7 years ago

cseelus commented 9 years ago

I only had to slightly alter the save_and_invite_member method of the InviteMember module, to use the Rails default error symbols.

This has the advantage of playing well inside internationalized Rails apps.

Test results are not affected by this change.

jekuno commented 7 years ago

Thanks for your contribution. Merged into https://github.com/jekuno/milia/commit/a004e995f451b43ae569cab144781cb7d4c2fbb7.