ref: master
plugins/networks/controllers/public/networks_plugin_search_controller.rb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
class NetworksPluginSearchController < SearchController # FIXME: should be necessary again, as done on superclass no_design_blocks include NetworksPlugin::TranslationHelper helper NetworksPlugin::TranslationHelper helper NetworksPlugin::SearchHelper def index redirect_to controller: :search, action: :enterprises, facet: {solr_f_profile_type: NetworksPlugin::Network.to_s} end protected extend HMVC::ClassMethods hmvc NetworksPlugin end |