• Timothy Andrew's avatar
    Fix minor issues with the personal access tokens implementation. · c75aea5e
    Timothy Andrew authored
    - Use the `:personal_access_token` param root instead of
      `personal_access_token_params`, because we aren't using the
      `personal_access_token` param for authentication anymore (we're using
      `private_token` instead).
    - Use `build` to instantiate a `PersonalAccessToken`
    - Use better-formatted dates
    c75aea5e
personal_access_tokens_controller.rb 1.05 KB