• Timothy Andrew's avatar
    Implement minor changes from @dbalexandre's review. · 18b081a60725
    Timothy Andrew authored
    - 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.
    18b081a60725
applications_controller.rb 1.6 KB