myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [3440] trunk/app/views/content/_index.rhtml: fixe


From: noreply
Subject: [myexperiment-hackers] [3440] trunk/app/views/content/_index.rhtml: fixed hash syntax that no longer works in ruby 1.9.2
Date: Fri, 22 Feb 2013 19:24:29 +0000 (UTC)

Revision
3440
Author
dgc
Date
2013-02-22 19:24:28 +0000 (Fri, 22 Feb 2013)

Log Message

fixed hash syntax that no longer works in ruby 1.9.2

Modified Paths

Diff

Modified: trunk/app/views/content/_index.rhtml (3439 => 3440)


--- trunk/app/views/content/_index.rhtml	2013-02-22 19:23:20 UTC (rev 3439)
+++ trunk/app/views/content/_index.rhtml	2013-02-22 19:24:28 UTC (rev 3440)
@@ -84,7 +84,7 @@
           <% end %>
           <% if params[:query] && controller.class != SearchController %>
             <div class="remove_search_query">
-              <%= link_to("Remove search query", url_for(request.query_parameters.merge({ "query", nil }))) -%>
+              <%= link_to("Remove search query", url_for(request.query_parameters.merge({ "query" => nil }))) -%>
             </div>
           <% end %>
         </form>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]