Commit b10a4c36e042c47339466a0500a9ea7cc4737c11

Authored by AntonioTerceiro
1 parent a762ff58

ActionItem262: generating URL The Right Way (tm)


git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1933 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/helpers/application_helper.rb
@@ -542,7 +542,7 @@ module ApplicationHelper @@ -542,7 +542,7 @@ module ApplicationHelper
542 "" 542 ""
543 elsif opt == 'simple_search' 543 elsif opt == 'simple_search'
544 s = _('Search...') 544 s = _('Search...')
545 - '<form action="search" id="simple-search" class="focus-out"'+ 545 + "<form action=\"#{url_for(:controller => 'search', :action => 'index')}\" id=\"simple-search\" class=\"focus-out\""+
546 ' help="'+_('This is a search box. Click, write your query, and press enter to find')+'"'+ 546 ' help="'+_('This is a search box. Click, write your query, and press enter to find')+'"'+
547 ' title="'+_('Click, write and press enter to find')+'">'+ 547 ' title="'+_('Click, write and press enter to find')+'">'+
548 '<input name="query" value="'+s+'"'+ 548 '<input name="query" value="'+s+'"'+