forked from fixin.me/fixin.me
Expand link to whole table cell
This commit is contained in:
@@ -88,6 +88,11 @@ module ApplicationHelper
|
||||
image_element_to(:link, name, image, options, html_options)
|
||||
end
|
||||
|
||||
# Workaround to fill <td> with link completely, see CSS for details.
|
||||
def table_link_to(...)
|
||||
link_to(...) * 2
|
||||
end
|
||||
|
||||
|
||||
private
|
||||
|
||||
|
||||
Reference in New Issue
Block a user