Skip to content

Instantly share code, notes, and snippets.

@froderik
Created May 12, 2011 15:09
Show Gist options
  • Save froderik/968695 to your computer and use it in GitHub Desktop.
Save froderik/968695 to your computer and use it in GitHub Desktop.
typical layout file for a rails app with tiny mce and jquery
%html
%head
%title
Inline Tiny MCE example
= stylesheet_link_tag :all
= javascript_include_tag 'jquery'
= javascript_include_tag 'rails'
= javascript_include_tag 'application'
= include_tiny_mce_if_needed
= csrf_meta_tag
%body
= yield
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment