Sha256: de425c7ad03b3ce6d7bf233cfa8df80ed57a995b901a8b1b84a6262bd68d4d3a

Contents?: true

Size: 340 Bytes

Versions: 26

Compression:

Stored size: 340 Bytes

Contents

module ApplicationHelper
  def menu_item(name, href)
    content_tag(:li, content_tag(:a, content_tag(:span, name), :href=>href))
  end
  def include_ckeditor
    content_for :head do
      javascript_include_tag('/ckeditor/ckeditor.js',
        '/ckeditor/adapters/jquery.js',
        "galleries/configure_ckeditor.js")
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
wheels-0.0.28 app/helpers/application_helper.rb
wheels-0.0.27 app/helpers/application_helper.rb
wheels-0.0.26 app/helpers/application_helper.rb
wheels-0.0.25 app/helpers/application_helper.rb
wheels-0.0.24 app/helpers/application_helper.rb
wheels-0.0.23 app/helpers/application_helper.rb