app/helpers/search_results_helper.rb in iqvoc-4.3.3 vs app/helpers/search_results_helper.rb in iqvoc-4.4.0

- old
+ new

@@ -13,11 +13,10 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. module SearchResultsHelper - def search_language_selected?(lang) (params[:languages] && params[:languages].include?(lang.to_s)) || (!params[:query] && I18n.locale.to_s == lang.to_s) end @@ -39,10 +38,9 @@ else t('txt.views.search_results.no_results_found') end content_tag :h2 do - raw( t('txt.views.search_results.search_results') << " " << content_tag(:small, desc) ) + raw( t('txt.views.search_results.search_results') << ' ' << content_tag(:small, desc) ) end end - end