Sha256: 964d4a456af612854265c18c24cb38cd7d0c8aab908f1c225853f0773bebb1a9
Contents?: true
Size: 466 Bytes
Versions: 2
Compression:
Stored size: 466 Bytes
Contents
module CustomEmailTracker class Railtie < Rails::Railtie initializer "custom_email_tracker.action_controller" do ActiveSupport.on_load(:action_controller) do include CustomEmailTracker::Tracker end end initializer "custom_email_tracker.routes" do Rails.application.routes.append do get 'email_open_tracker/:token', to: 'custom_email_tracker/email_opens#track_open', as: :email_open_tracker end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
custom_email_tracker-0.1.2 | lib/custom_email_tracker/railtie.rb |
custom_email_tracker-0.1.1 | lib/custom_email_tracker/railtie.rb |