Module: ActionView::Helpers::AssetTagHelper

Defined in:
lib/kindeditor.rb

Instance Method Summary collapse

Instance Method Details

#kindeditor_javacript_include_tag(*args) ⇒ Object



5
6
7
8
9
10
11
12
# File 'lib/kindeditor.rb', line 5

def kindeditor_javacript_include_tag(*args)
  options=args.extract_options!
  if args.empty?
     javascript_include_tag("kindeditor/kindeditor-min","kindeditor/kindeditor_config",options)
  else
     javascript_include_tag(args.insert(0,"kindeditor/kindeditor-min"),options)
  end
end