rails_admin_nestable 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md
CHANGED
@@ -8,7 +8,7 @@ Reorganise model data with a drag and drop tree/list structure.
|
|
8
8
|
To enable rails_admin_nestable, add the following to your `Gemfile`:
|
9
9
|
|
10
10
|
```ruby
|
11
|
-
gem 'rails_admin_nestable'
|
11
|
+
gem 'rails_admin_nestable'
|
12
12
|
```
|
13
13
|
|
14
14
|
Add in your `config/initializers/rails_admin.rb` initializer the configuration:
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module RailsAdminNestable
|
2
2
|
class Engine < ::Rails::Engine
|
3
3
|
|
4
|
-
initializer "RailsAdminNestable precompile hook"
|
4
|
+
initializer "RailsAdminNestable precompile hook" do |app|
|
5
5
|
app.config.assets.precompile += %w(rails_admin/rails_admin_nestable.js rails_admin/jquery.nestable.js rails_admin/rails_admin_nestable.css)
|
6
6
|
end
|
7
7
|
|