Skip to content

Commit

Permalink
Limit the resources of categories and expenses to just the neccessary
Browse files Browse the repository at this point in the history
  • Loading branch information
danifromecuador committed Oct 29, 2023
1 parent 3535b16 commit f6ba637
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
root "categories#index", as: :authenticated_root
end
root "welcome#index"
resources :categories
resources :expenses
resources :categories, only: [:index, :new, :show, :create]
resources :expenses, only: [:new, :create]
end

0 comments on commit f6ba637

Please sign in to comment.