config/routes.rb in rosetta-rails-0.1.1 vs config/routes.rb in rosetta-rails-0.2.0
- old
+ new
@@ -1,8 +1,10 @@
Rosetta::Engine.routes.draw do
root to: "locales#index"
+ resource :default_locale, only: %i[new create]
+
resources :locales do
scope module: :locales do
resources :translations, only: :index
resources :deploys, only: :create
@@ -10,9 +12,9 @@
resources :missing, only: :index
end
end
end
- resources :translation_keys do
+ resources :text_entries do
resource :translation, only: %i[edit update]
end
end