• Timothy Andrew's avatar
    Implement minor changes from @dbalexandre's review. · 4d6da770
    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.
    4d6da770
auth.rb 5.9 KB