lib/timespan/rails/engine.rb in timespan-0.5.2 vs lib/timespan/rails/engine.rb in timespan-0.5.3
- old
+ new
@@ -1,7 +1,8 @@
module Timespan
module Rails
class Engine < ::Rails::Engine
+ # Also automatically adds the assets in vendor/assets :)
initializer 'Timespan setup' do
I18n.load_path << Dir[Rails.root.join('config', 'locales', 'timespan', '*.yml')]
end
end
end
\ No newline at end of file