config/routes.rb in satis-1.0.75 vs config/routes.rb in satis-2.0.7
- old
+ new
@@ -1,3 +1,17 @@
Satis::Engine.routes.draw do
resources :user_data, only: %i[show update]
+ resources :dialogs, only: %[show], constraints: { id: /[A-Za-z0-9\_\-\/]+/ }
+
+ unless Rails.env.production?
+ namespace :documentation do
+ resources :avatars
+ resources :cards
+ resources :editors
+ resources :forms do
+ get "select", on: :collection
+ end
+ resources :tabs
+ end
+ resources :documentation
+ end
end