fix issue 340, but can't testing with dummy app. cause duplicate calling use_doorkeeper would conflict naming routes
and spaces around the curly braces
Merge pull request #413 from jasl/fix-issue-340

fix issue 340