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