summaryrefslogtreecommitdiff
path: root/app/controllers/concerns/oauth_applications.rb
Commit message (Collapse)AuthorAgeFilesLines
* Avoid use of Hash#dig to keep compatibility with Ruby 2.1fix/keep-compatility-ruby-21Douglas Barbosa Alexandre2016-12-161-1/+1
|
* Implement minor changes from @dbalexandre's review.Timothy Andrew2016-12-161-0/+5
| | | | | | | | | | | - Mainly whitespace changes. - Require the migration adding the `scope` column to the `personal_access_tokens` table to have downtime, since API calls will fail if the new code is in place, but the migration hasn't run. - Minor refactoring - load `@scopes` in a `before_action`, since we're doing it in three different places.
* Allow creating personal access tokens / OAuth applications with scopes.Timothy Andrew2016-12-161-0/+14