lib/write/engine.rb in write-0.0.1 vs lib/write/engine.rb in write-0.2.0

- old
+ new

@@ -1,8 +1,13 @@ module Write class Engine < ::Rails::Engine isolate_namespace Write + initializer 'write.action_controller' do |app| + ActiveSupport.on_load :action_controller do + helper Write::ApplicationHelper + end + end config.after_initialize do - GG.fetch if Write.accounts.present? + GG.clear! end end end