Sha256: f34253cc800b0da1ba5a954e5dab29973c7d5daf7fbc237a97e4686df862d0f8
Contents?: true
Size: 414 Bytes
Versions: 10
Compression:
Stored size: 414 Bytes
Contents
module ApplicationHelper load_main_menu def menu_node(name, url) content_tag(:li, content_tag(:a, content_tag(:span, name, :class=>name.underscore.gsub(/ /, '_')), :href=>url)) end def include_ckeditor content_for :head do javascript_include_tag('/ckeditor/ckeditor.js', '/ckeditor/adapters/jquery.js', "galleries/configure_ckeditor.js", 'ckeditor_loaded') end end end
Version data entries
10 entries across 10 versions & 1 rubygems