<commit_before>Rails.application.routes.draw do


  get 'games/new'

  get 'games/create'

  resources :users
  get 'signup', to: "users#new"  # controller: :users, action: :new  
  get 'profile/:id', to: "users#show" #,  as: user
  post 'crop/:id', to: 'fruits#crop', as: 'crop_fruit'


  root 'games#index'

  get 'games/show'

  get 'games/:id', to: 'games#show', as: 'game'

  post 'dice/:id', to: 'dice#roll', as: 'roll_dice'


  post 'crow/:id', to: 'crow#step', as: 'step_crow'

  post 'crop/:id', to: 'fruits#crop', as: 'crop_fruit'

  post 'games/:id/win', to: 'games#set_status_to_win', as: 'games_win'

  post 'games/:id/lost', to: 'games#set_status_to_lost', as: 'games_lost'



  post 'crow/:id', to: 'crow#step', as: 'crow_step'
<commit_msg>Fix routes<commit_after>Rails.application.routes.draw do


  get 'games/new'

  get 'games/create'

  resources :users
  get 'signup', to: "users#new"  # controller: :users, action: :new  
  get 'profile/:id', to: "users#show" #,  as: user
  post 'crop/:id', to: 'fruits#crop', as: 'crop_fruit'


  root 'games#index'

  get 'games/show'

  get 'games/:id', to: 'games#show', as: 'game'

  post 'dice/:id', to: 'dice#roll', as: 'roll_dice'


  post 'crow/:id', to: 'crow#step', as: 'step_crow'

  post 'games/:id/win', to: 'games#set_status_to_win', as: 'games_win'

  post 'games/:id/lost', to: 'games#set_status_to_lost', as: 'games_lost'



  post 'crow/:id', to: 'crow#step', as: 'crow_step'

{'fraction_non_alphanumeric': 0.1977946243969676, 'fraction_numerical': 0.0, 'mean_word_length': 4.185714285714286, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4776082', 'n_tokens_mistral': 663, 'n_tokens_neox': 603, 'n_words': 143}