Class: SearchesController
- Inherits:
-
CmsController
- Object
- ApplicationController
- CmsController
- SearchesController
- Defined in:
- app/controllers/searches_controller.rb
Instance Method Summary collapse
Methods inherited from CmsController
Instance Method Details
#show ⇒ Object
2 3 4 5 |
# File 'app/controllers/searches_controller.rb', line 2 def show @results = ActiveadminSelleoCms::Search.current_locale.search_by_content(params[:id]) render action: :show, layout: 'search' end |