mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 17:37:17 +02:00
5 lines
166 B
Ruby
5 lines
166 B
Ruby
module ApplicationHelper
|
|
def coffee_script_tag(&block)
|
|
content_tag(:script, CoffeeScript.compile(capture(&block)).html_safe, type: 'text/javascript')
|
|
end
|
|
end
|