diff --git a/config/routes.rb b/config/routes.rb index ab0810e..726e38f 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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