Skip to content
This repository has been archived by the owner on Nov 17, 2017. It is now read-only.

Commit

Permalink
Fixed the html_area helper (this time for REAL!!!).
Browse files Browse the repository at this point in the history
  • Loading branch information
baldowl committed Oct 1, 2009
1 parent ea9eb9b commit a888c90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/auto_admin_simple_theme.rb
Expand Up @@ -300,7 +300,8 @@ def html_area(field, options = {})
if AutoAdmin::AutoAdminConfiguration.use_fckeditor_plugin if AutoAdmin::AutoAdminConfiguration.use_fckeditor_plugin
# We cannot use object_helper because of the fckeditor_textarea's # We cannot use object_helper because of the fckeditor_textarea's
# implementation details. # implementation details.
@template.send :fckeditor_textarea, 'object', field, options @template.instance_variable_set "@#{model_name}", @object
@template.send :fckeditor_textarea, model_name, field, options
else else
object_helper :text_area, field, options object_helper :text_area, field, options
end end
Expand Down

0 comments on commit a888c90

Please sign in to comment.