Module: Watchtower::ControllerBase

Included in:
WatchtowerController
Defined in:
lib/watchtower/controller_base.rb

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
7
8
# File 'lib/watchtower/controller_base.rb', line 3

def self.included(base)
  base.send :include, InstanceMethods
  base.class_eval do
    before_filter :find_exception, :only => [:show, :destroy]
  end
end