Activeadmin::Redactor
TODO: Write a gem description
Usage
Add it to your Gemfile
gem 'activeadmin-redactor'
Configure your ActiveAdmin Resource
ActiveAdmin.register Page do
redactorable # creates the controller action which handles the editor
index do
redactorable_edit_icon # inserts an edit icon / link
# other columns...
end
end
Contributing
- Fork it ( https://github.com/[my-github-username]/activeadmin-redactor/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request