class HocusPocus::Recorder::Filter
Public Class Methods
before(controller)
click to toggle source
# File engines/recorder/lib/hocus_pocus/recorder/filter.rb, line 4 def self.before(controller) # (controller.flash[HocusPocus::Recorder::SPEC] ||= '') << controller.params.delete(HocusPocus::Recorder::SPEC) if controller.params[HocusPocus::Recorder::SPEC] controller.flash[HocusPocus::Recorder::SPEC] = controller.params.delete HocusPocus::Recorder::SPEC if controller.params[HocusPocus::Recorder::SPEC] controller.flash.keep HocusPocus::Recorder::SPEC end