pass block from invite_resource to invite!
Merge pull request #449 from Celmatix/master

pass block from invite_resource to invite!