config/routes.rb in rails-asset-localization-0.1.0 vs config/routes.rb in rails-asset-localization-0.2.0
- old
+ new
@@ -1,3 +1,3 @@
-Rails.application.routes.draw do
- match '/locales/:locale', to: 'rails_asset_localization/locales#locale', via: :get, as: :locales
-end
+RailsAssetLocalization::Engine.routes.draw do
+ match '/:locale', to: 'rails_asset_localization/locales#locale', via: :get, as: :locales
+end
\ No newline at end of file