th_simple_content_management 0.1.2 → 0.1.3
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
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
M2JkNjJhMjEyZmZlZWNiN2I0YmMzMmNhMTk4MjRhYWM3ZGQ0NTkzNw==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
YjVhZDk2YTVlNWM4OTNiMGRlZDljYWI1ZjYxZTQwZDViY2UxZmQ3Mg==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
NzY2NzNkMmUwOGRkZDdiZTMwOGEzZGI1NDBkMzkxZTQyYWMwYjdiYmQwMjEx
|
|
10
|
+
OWUzZDdlNWFjZGFjNzRjNGVhY2JhMjI2ZWViZjlkYjIwZDUyNTQyYmFmYWFh
|
|
11
|
+
MzFjMDZlMjkyZjg3Y2Q3Y2U1ZTc0YzIyNGUxNjk3MTc2NWI3NTk=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
NWFhODc0MmIxOTBjYjA5MTg4YjI1YTBkYmM3OTBmZjljMGQ4YjRjYmUzYWI4
|
|
14
|
+
Y2VkZjBkOWFjNzI0YjkxYmUzMDgzNGYwNjhlMGI5ODZiNmNkNDQ5NjQyNjhh
|
|
15
|
+
OTFiYWYwNTgzZjJlODYxNGE2M2FiODYwMTg0NmFkMTUxOTc2NGM=
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
class SimpleContentManagement::SimpleContentSectionsController < InheritedResources::Base
|
|
2
|
+
defaults :resource_class => SimpleContentManagement::SimpleContentSection
|
|
3
|
+
include SimpleAdminPanel::ControllerExtensions
|
|
4
|
+
alias_method_chain :collection, :search_and_pagination
|
|
5
|
+
|
|
6
|
+
def end_of_association_chain
|
|
7
|
+
resource_class.active
|
|
8
|
+
end
|
|
9
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: th_simple_content_management
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Toby Hinloopen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-05-
|
|
11
|
+
date: 2013-05-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -104,8 +104,10 @@ files:
|
|
|
104
104
|
- app/assets/javascripts/simple_content_management/simple_menu_items.js
|
|
105
105
|
- app/assets/javascripts/simple_content_management/simple_pages.js
|
|
106
106
|
- app/assets/javascripts/simple_content_management.js
|
|
107
|
+
- app/controllers/simple_content_management/simple_content_sections_controller.rb
|
|
107
108
|
- app/controllers/simple_content_management/simple_menu_items_controller.rb
|
|
108
109
|
- app/controllers/simple_content_management/simple_pages_controller.rb
|
|
110
|
+
- app/models/simple_content_management/simple_content_section.rb
|
|
109
111
|
- app/models/simple_content_management/simple_menu_item.rb
|
|
110
112
|
- app/models/simple_content_management/simple_page.rb
|
|
111
113
|
- app/models/simple_content_management/simple_route.rb
|