lib/administrate/engine.rb in administrate-1.0.0.beta1 vs lib/administrate/engine.rb in administrate-1.0.0.beta2
- old
+ new
@@ -22,9 +22,15 @@
"administrate/application.js",
"administrate/application.css"
]
end
+ initializer "administrate.action_text" do
+ ActiveSupport.on_load :action_text_rich_text do
+ require "administrate/field/rich_text"
+ end
+ end
+
def self.add_javascript(script)
@@javascripts << script
end
def self.add_stylesheet(stylesheet)