Module: BentoSearch::Routes::RouteSets

Included in:
BentoSearch::Routes
Defined in:
lib/bento_search/routes.rb

Instance Method Summary collapse

Instance Method Details

#searchObject



33
34
35
36
37
38
39
40
# File 'lib/bento_search/routes.rb', line 33

def search
  add_routes do |options|
    scope options[:scope] do
      get ":engine_id" => "bento_search/search#search", :as => "to_bento_search"
    end
  end
  
end