summaryrefslogtreecommitdiff
path: root/helper.rb
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2013-03-18 12:36:39 +0100
committergebele <gebele@in-silico.ch>2013-03-18 12:36:39 +0100
commit8c893bcb65d0d460a26918a053e80d95828208f7 (patch)
tree1cec8ee0b4cd85c0d08d7d062e75d5f3e3630d59 /helper.rb
parent3dd7fd382e6de383055c81d926de6133404a1c7a (diff)
rename links
Diffstat (limited to 'helper.rb')
-rw-r--r--helper.rb2
1 files changed, 1 insertions, 1 deletions
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)