plataformatec/devise — pull request #2728 by edelpero (2013-11-08 14:41:18+00:00)
Title: Adds yield around resource on devise controllers

If you want to add a new behavior to your devise
controllers but you don't want to override devise's
default workflow, just pass a block around resource.

This would give you for example, the ability to
trigger background jobs after user signs in and continue
with the usual devise workflow.