lib/release_notes/engine.rb in release_notes-0.2.1 vs lib/release_notes/engine.rb in release_notes-0.3.3

- old
+ new

@@ -1,8 +1,14 @@ module ReleaseNotes class Engine < ::Rails::Engine isolate_namespace ReleaseNotes + config.to_prepare do + Dir.glob(Rails.root + "app/decorators/**/release_notes/*_decorator*.rb").each do |c| + require_dependency(c) + end + end + initializer 'release_notes.action_controller' do |app| ActiveSupport.on_load :action_controller do helper ReleaseNotes::ApplicationHelper end end \ No newline at end of file