No redirect when Devise API is accessed via JSON
Merge pull request #2407 from sebastianwr/master

No redirect when accessing devise API via JSON