<commit_before># encoding: utf-8

Rails.application.routes.draw do

  # Pages
  resources :pages, :path => '/pages/:language' do
    collection do
      get  'search'
      post 'search'
      post 'preview'
    end
    member do
      post 'add_comment'
    end
    resources :files, :controller => 'page_files'
  end
  match '/pages/:language/:id/:page' => 'pages#show', :constraints => { :page => /\d+/ }

  # OpenID
  resource :openid, :controller => 'openid' do
    member do
      get 'complete'
    end<commit_msg>paginated_page route<commit_after># encoding: utf-8

Rails.application.routes.draw do

  # Pages
  resources :pages, :path => '/pages/:language' do
    collection do
      get  'search'
      post 'search'
      post 'preview'
    end
    member do
      post 'add_comment'
    end
    resources :files, :controller => 'page_files'
  end
  match '/pages/:language/:id/:page' => 'pages#show', :constraints => { :page => /\d+/ }, :as => :paginated_page

  # OpenID
  resource :openid, :controller => 'openid' do
    member do
      get 'complete'
    end
{'fraction_non_alphanumeric': 0.13886300093196646, 'fraction_numerical': 0.001863932898415657, 'mean_word_length': 2.6907216494845363, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 16, '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': '6766339', 'n_tokens_mistral': 353, 'n_tokens_neox': 352, 'n_words': 96}