Skip to content

Commit

Permalink
Merge pull request #59 from dorianmariecom/patch-1
Browse files Browse the repository at this point in the history
Fix rails 8 warning: "Drawing a route with a hash key name is deprecated"
  • Loading branch information
fractaledmind authored Aug 25, 2024
2 parents 775bb3d + 087208e commit 01a1965
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,5 +1,5 @@
SolidErrors::Engine.routes.draw do
get "/" => "errors#index", :as => :root
get "/", to: "errors#index", as: :root

resources :errors, only: [:index, :show, :update, :destroy], path: ""
end

0 comments on commit 01a1965

Please sign in to comment.