alphagov/gds-sso — pull request #22 by matthewford (2013-10-04 11:46:01+00:00)
Title: Skip verify_authenticity_token in API controller

I'm seeing ActionController::InvalidAuthenticityToken when the API tries to sync the permissions. So skip the checking.

skip_before_filter is both Rails 3 and 4 compatible.