Skip to content

Commit

Permalink
Merge pull request #217 from cassiosantana/refactor/216-remove-route-…
Browse files Browse the repository at this point in the history
…duplication

refactor(routing): removes duplication of books declaration
  • Loading branch information
cassiosantana authored Sep 17, 2023
2 parents f58b1d4 + 8f19c73 commit f4e2d26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

Rails.application.routes.draw do
resources :books, :accounts, :assemblies, :parts
resources :accounts, :assemblies, :parts
resources :authors, :suppliers, :books do
get :report, on: :member
end
Expand Down

0 comments on commit f4e2d26

Please sign in to comment.