Support acts_at_list models in Rails Admin
Add this line to your application's Gemfile:
gem "rails_admin_acts_as_list", :git => "git://github.com/candland/rails_admin_acts_as_list.git"
And then execute:
$ bundle
Or install it yourself as:
$ gem install rails_admin_acts_as_list
Add the actions to Rails Admin
__config/initializers/rails_admin.rb
RailsAdmin.config do |config|
# ...
config.actions do
# ...
move_to_top
move_higher
move_lower
move_to_bottom
# ...
end
# ...
end
- Fork the repository.
- Create a topic branch.
- Implement your feature or bug fix.
- Add, commit, and push your changes.
- Submit a pull request.
The gem is available as open source under the terms of the MIT License.