module Squash::Ruby::ControllerMethods::ClassMethods
Protected Instance Methods
enable_squash_client(options={})
click to toggle source
Prepends an `around_filter` that catches any exceptions and notifies Squash
. Exceptions are then re-raised.
@param [Hash] options Additional options to pass to
`prepend_around_filter`, such as `:only` or `:except`.
# File lib/squash/ruby/controller_methods.rb, line 158 def enable_squash_client(options={}) prepend_around_filter :_squash_around_filter, options end