forked from kete/tiny_mce
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kieran Pilkington
committed
Apr 12, 2010
1 parent
fa6d02f
commit dc52a44
Showing
3 changed files
with
29 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
require 'tiny_mce' | ||
TinyMCE.initialize |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
if defined?(Rails::Railtie) | ||
module TinyMCE | ||
class Railtie < Rails::Railtie | ||
rake_tasks do | ||
load "tasks/tiny_mce.rake" | ||
end | ||
|
||
initializer :tiny_mce do | ||
TinyMCE.initialize | ||
end | ||
end | ||
end | ||
end |