aboutsummaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 928bacf67..2d4220d2a 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -139,3 +139,8 @@ ActionController::Routing::Routes.draw do |map|
# map.connect ':controller/service.wsdl', :action => 'wsdl'
end
+# XXX should do something like the following to load routes from separate files
+# Dir.glob("config/routes_*yml").each do |f|
+# ActionController::Routing::Translator.translate_from_file(f)
+# end
+ActionController::Routing::Translator.translate_from_file('config', 'i18n-routes.yml')