Module: Merit::ControllerExtensions
- Defined in:
- lib/merit/controller_extensions.rb
Overview
Sets up an app-wide after_filter, and inserts merit_action entries if there are defined rules (for badges or points) for current ‘controller_path#action_name’
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
6 7 8 |
# File 'lib/merit/controller_extensions.rb', line 6 def self.included(base) base.after_action :log_and_process end |