Module: Esse::Jbuilder::Config::InstanceMethods
- Defined in:
- lib/esse/jbuilder/config.rb
Constant Summary collapse
- DEFAULT_SEARCH_VIEW_PATH =
"app/searches"
Instance Method Summary collapse
Instance Method Details
#search_view_path ⇒ Object
13 14 15 |
# File 'lib/esse/jbuilder/config.rb', line 13 def search_view_path @search_view_path ||= Pathname.new(DEFAULT_SEARCH_VIEW_PATH) end |
#search_view_path=(path) ⇒ Object
17 18 19 |
# File 'lib/esse/jbuilder/config.rb', line 17 def search_view_path=(path) @search_view_path = path.is_a?(String) ? Pathname.new(path) : path end |