Commit 5fce9d46cddd00c22f086558237583e9d4130824

Authored by Braulio Bhavamitra
1 parent 1d10ce61

Replace old browse by search

app/models/communities_block.rb
@@ -21,7 +21,7 @@ class CommunitiesBlock < ProfileListBlock @@ -21,7 +21,7 @@ class CommunitiesBlock < ProfileListBlock
21 end 21 end
22 when Environment 22 when Environment
23 lambda do 23 lambda do
24 - link_to s_('communities|View all'), :controller => 'browse', :action => 'communities' 24 + link_to s_('communities|View all'), :controller => 'search', :action => 'communities'
25 end 25 end
26 else 26 else
27 '' 27 ''
app/models/people_block.rb
@@ -18,7 +18,7 @@ class PeopleBlock < ProfileListBlock @@ -18,7 +18,7 @@ class PeopleBlock < ProfileListBlock
18 18
19 def footer 19 def footer
20 lambda do 20 lambda do
21 - link_to _('View all'), :controller => 'browse', :action => 'people' 21 + link_to _('View all'), :controller => 'search', :action => 'people'
22 end 22 end
23 end 23 end
24 24