admini 0.2.1 → 1.0.0
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.
- checksums.yaml +4 -4
- data/README.md +1 -3
- data/lib/admini/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 66ad0e25f2bfbceacb2c485c1275a768dc9bad5a
|
|
4
|
+
data.tar.gz: 28e06be157f290db8832f86cd2aff02f13326af3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5c5b0a232ffebf4a98ba9aa680b0433af30b89fa92806b94bd6cba845daacfe33a18e0a224936fee1b8edb448b8e286f9122a5cc9fa752c410a0de891328c8c8
|
|
7
|
+
data.tar.gz: 049ac0a217570c39a4b84813ee677b35c162bbf64fbb5f391980abf499e1028982d902649f207c830c88bfabfe7e2944544ae8c37a0ef1c55e859267750fb7cd
|
data/README.md
CHANGED
|
@@ -11,8 +11,6 @@ So you can implement administration page as usual.
|
|
|
11
11
|
Admini solves the same problem as [ActiveAdmin](https://github.com/activeadmin/activeadmin), [RailsAdmin](https://github.com/sferik/rails_admin) and [Administrate](https://github.com/thoughtbot/administrate).
|
|
12
12
|
Admini is the simplest framework, so you can create administration page according to the Rails way.
|
|
13
13
|
|
|
14
|
-
**Note**: Admini is still under development, and there may be breaking changes to the API.
|
|
15
|
-
|
|
16
14
|

|
|
17
15
|
|
|
18
16
|
## Table of contents
|
|
@@ -311,7 +309,7 @@ class Editor::ApplicationController < ActionController::Base
|
|
|
311
309
|
private
|
|
312
310
|
|
|
313
311
|
def resource_object
|
|
314
|
-
[:editor,
|
|
312
|
+
[:editor, resource]
|
|
315
313
|
end
|
|
316
314
|
end
|
|
317
315
|
```
|
data/lib/admini/version.rb
CHANGED