Commit 9f9095402ee9a61e8501520d0a523387258c28ce
1 parent
3a9f5dcc
Exists in
master
and in
29 other branches
ActionItem102: changed to use Region#search_possible_validators
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@667 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/environment_admin/region_validators_controller.rb
... | ... | @@ -31,7 +31,7 @@ class RegionValidatorsController < ApplicationController |
31 | 31 | def load_region_and_search |
32 | 32 | @region = environment.regions.find(params[:id]) |
33 | 33 | if params[:search] |
34 | - @search = Organization.find_by_contents(params[:search]) | |
34 | + @search = @region.search_possible_validators(params[:search]) | |
35 | 35 | end |
36 | 36 | end |
37 | 37 | ... | ... |