Module: Hoover::ActionControllerMethods

Defined in:
lib/hoover/action_controller_methods.rb

Instance Method Summary collapse

Instance Method Details

#set_hoover_logglier(logglier) ⇒ Object



3
4
5
6
7
8
9
10
11
# File 'lib/hoover/action_controller_methods.rb', line 3

def set_hoover_logglier(logglier)
  prepend_before_filter do
    if Hoover.initialized?
      Hoover.logglier = logglier
    else
      Hoover.init(logglier)
    end
  end
end