Module: Vogue::ResourceControllerExtensions::Searchlogic

Defined in:
lib/vogue/resource_controller_extensions.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



18
19
20
21
22
23
24
25
# File 'lib/vogue/resource_controller_extensions.rb', line 18

def self.included(base)
  base.class_eval do
    alias_method_chain :end_of_association_chain, :searchlogic
    before_filter do
      @search = end_of_association_chain
    end
  end
end