lib/tao_ui/engine.rb in tao_ui-0.1.3 vs lib/tao_ui/engine.rb in tao_ui-0.2.0
- old
+ new
@@ -1,8 +1,11 @@
require 'tao_on_rails'
require 'tao_ui/components'
module TaoUi
class Engine < ::Rails::Engine
- isolate_namespace TaoUi
+
+ config.i18n.load_path += Dir[config.root.join('config', 'locales', '**', '*.{rb,yml}')]
+ paths['app/views'] << 'lib/views'
+
end
end