app/controllers/searches_controller.rb in activeadmin-selleo-cms-0.0.18 vs app/controllers/searches_controller.rb in activeadmin-selleo-cms-0.0.20

- old
+ new

@@ -1,6 +1,6 @@ class SearchesController < CmsController def show - @results = ActiveadminSelleoCms::Search.current_locale.search_by_content(params[:id]).map(&:searchable).uniq + @results = ActiveadminSelleoCms::Search.current_locale.search_by_content(params[:id]) render action: :show, layout: 'search' end end