From 8c893bcb65d0d460a26918a053e80d95828208f7 Mon Sep 17 00:00:00 2001 From: gebele Date: Mon, 18 Mar 2013 12:36:39 +0100 Subject: rename links --- helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helper.rb') diff --git a/helper.rb b/helper.rb index abcecd4..caa1923 100644 --- a/helper.rb +++ b/helper.rb @@ -16,7 +16,7 @@ helpers do def hide_link(destination) @link_id = 0 unless @link_id @link_id += 1 - haml :js_link, :locals => {:name => "close", :destination => destination, :method => "hide"}, :layout => false + haml :js_link, :locals => {:name => "hide", :destination => destination, :method => "hide"}, :layout => false end def toggle_link(destination,name) -- cgit v1.2.3