app/controllers/meetings_controller.rb
# Search meeting results for a specific team
#
Search meeting results for a specific team
Search meeting results for a specific team
def search_team
    params.permit!()
    @title = I18n.t(:search_by_team, { scope: [:meeting] })
    @teams_grid = initialize_grid(
      Team,
      order: 'teams.name',
      order_direction: 'asc',
      per_page: 20
    )
  end
def search_team params . permit! ( ) @title = I18n . t ( :search_by_team , { scope : [ :meeting ] } ) @teams_grid = initialize_grid ( Team , order : 'teams.name' , order_direction : 'asc' , per_page : 20 ) end
Search meeting results for a specific team
Search meeting results for a specific team
# [Steve, 20161001] We need to whitelist all parameters for the search query: