diff options
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/config/routes.rb b/config/routes.rb index 1dd57b5..50950d4 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,19 +1,19 @@ Rails.application.routes.draw do root "dashboard#index" - get "ferti_recipe", to: "recipes#show" + # get "ferti_recipe", to: "recipes#show" - resources :beds, only: [ :index, :edit, :update ] do - collection do - patch :bulk_assign_crops - post :reset_seed_crops - end + # resources :beds, only: [ :index, :edit, :update ] do + # collection do + # patch :bulk_assign_crops + # post :reset_seed_crops + # end - resources :rafts, only: [ :index, :edit, :update ], shallow: true - end + # resources :rafts, only: [ :index, :edit, :update ], shallow: true + # end - resources :fertilizer_products - resources :crops + # resources :fertilizer_products + resources :nutrient_profiles resources :nutrient_measurements # Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html |