Module: Activeadmin::Redactor::ControllerActions
- Defined in:
- lib/activeadmin/redactor.rb
Instance Method Summary collapse
Instance Method Details
#redactorable(options = {}) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/activeadmin/redactor.rb', line 10 def redactorable(={}) member_action :redactor do = ViewportOpts.new() @redactor_opts = RedactorOpts.new([:redactor]) render .template, layout: .layout end end |