config/routes.rb in sail-0.1.0 vs config/routes.rb in sail-1.0.0
- old
+ new
@@ -1,2 +1,6 @@
+# frozen_string_literal: true
+
Sail::Engine.routes.draw do
+ root 'settings#index'
+ resources :settings, only: %i[index update], param: :name
end
- old
+ new