Production fixes
This commit is contained in:
@@ -158,4 +158,9 @@ module ApplicationHelper
|
||||
I18n.locale == I18n.default_locale ? '/' : "/#{I18n.locale}"
|
||||
end
|
||||
|
||||
def link_to_function(title, function, options={})
|
||||
options[:onclick] = function
|
||||
link_to title, 'javascript:void(0)', options
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user