Set refresh_search async searchresults load to use bootstrap

This commit is contained in:
Faldrian 2014-12-20 03:52:29 +01:00
parent 5d44fa771a
commit 43fd6e7ed6

View file

@ -7,7 +7,7 @@ class PeopleController < ApplicationController
before_action :find_person, only: [:show, :stream, :hovercard] before_action :find_person, only: [:show, :stream, :hovercard]
layout ->(c){ request.format == :mobile ? "application" : "with_header_with_footer" } layout ->(c){ request.format == :mobile ? "application" : "with_header_with_footer" }
use_bootstrap_for :index, :show, :contacts use_bootstrap_for :index, :show, :contacts, :refresh_search
respond_to :html, :except => [:tag_index] respond_to :html, :except => [:tag_index]
respond_to :json, :only => [:index, :show] respond_to :json, :only => [:index, :show]