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

Version Path
wheels-0.1.8 app/helpers/application_helper.rb
wheels-0.1.7 app/helpers/application_helper.rb
wheels-0.1.6 app/helpers/application_helper.rb
wheels-0.1.5 app/helpers/application_helper.rb
wheels-0.1.4 app/helpers/application_helper.rb
wheels-0.1.3 app/helpers/application_helper.rb
wheels-0.1.2 app/helpers/application_helper.rb
wheels-0.1.1 app/helpers/application_helper.rb
wheels-0.1.0 app/helpers/application_helper.rb
wheels-0.0.49 app/helpers/application_helper.rb