Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# app/controllers/application_controller.rb
class ApplicationController < ApplicationController
include EventTracking
end
# app/controllers/concerns/event_tracking.rb
module EventTracking
extend ActiveSupport::Concern
# all dat code
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment