Module: RunShell::Rails::Controller

Defined in:
lib/run_shell/frameworks/rails.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
8
9
# File 'lib/run_shell/frameworks/rails.rb', line 5

def self.included(base)
  if defined?(ActionController) && base == ActionController::Base
    base.before_filter :set_run_shell_whodunnit
  end
end