Skip to content

Commit

Permalink
NOP-12 p.2 - routing error to 404 (#1170)
Browse files Browse the repository at this point in the history
  • Loading branch information
kethlinmil authored Oct 10, 2024
1 parent 16736bf commit cba0d03
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,7 @@

root to: "catalog#index"

match '*unmatched', to: 'errors#not_found', via: :all

# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
end

0 comments on commit cba0d03

Please sign in to comment.