Class: Presentation::Search

Inherits:
Base
  • Object
show all
Defined in:
lib/presentation/search.rb

Direct Known Subclasses

FieldSearch

Instance Attribute Summary

Attributes inherited from Base

#controller, #presentable

Instance Method Summary collapse

Methods inherited from Base

#render

Methods included from Presenting::Configurable

#initialize

Instance Method Details

#inameObject



3
# File 'lib/presentation/search.rb', line 3

def iname; :search end

#urlObject



5
6
7
# File 'lib/presentation/search.rb', line 5

def url
  request.path + '?' + request.query_parameters.except("search").to_param
end