lib/dynamic_menu.rb in dynamic_menu-0.2.1 vs lib/dynamic_menu.rb in dynamic_menu-0.2.2
- old
+ new
@@ -27,9 +27,11 @@
$('form').submit();
return false;
}
});
});</script>".html_safe
+ elsif link == :back
+ @link_tag = link_to_function name, "history.back()"
else
@link_tag = link_to name, link
end #end if submit
end #end if delete
end #end initalize
\ No newline at end of file