<commit_before>Rails.application.routes.draw do
  devise_for :authors, :controllers => {:registrations => "api/v1/authors"}
  namespace :api, defaults: { format: :json }, path: '/' do
    namespace :v1 do
      resources :authors, only: [:index, :show]
    end

  end
end<commit_msg>[ADD AUTHORS] Set devise for version api<commit_after>Rails.application.routes.draw do

  namespace :api, defaults: { format: :json }, path: '/' do
    namespace :v1 do
      devise_for :authors, :controllers => {:registrations => "api/v1/authors"}
      resources :authors, only: [:index, :show]
    end

  end
end
{'fraction_non_alphanumeric': 0.14046822742474915, 'fraction_numerical': 0.006688963210702341, 'mean_word_length': 3.8306451612903225, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2434787', 'n_tokens_mistral': 206, 'n_tokens_neox': 194, 'n_words': 55}