Module: ResourceFull::Dispatch

Defined in:
lib/resource_full/dispatch.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(controller) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/resource_full/dispatch.rb', line 4

def included(controller)
  super(controller)
  controller.send :extend, ClassMethods
  controller.before_filter :ensure_sets_format_when_ie7
  controller.before_filter :ensure_responds_to_format
  controller.before_filter :ensure_responds_to_method
end