ecm_cms2_backend 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/ecm/cms/backend/add_homepages_service_controller.rb +1 -1
- data/app/controllers/ecm/cms/backend/content_boxes_controller.rb +1 -1
- data/app/controllers/ecm/cms/backend/home_controller.rb +0 -2
- data/app/controllers/ecm/cms/backend/import_partials_service_controller.rb +1 -1
- data/app/controllers/ecm/cms/backend/navigation_items_controller.rb +1 -1
- data/app/controllers/ecm/cms/backend/navigations_controller.rb +1 -1
- data/app/controllers/ecm/cms/backend/pages_controller.rb +1 -1
- data/app/controllers/ecm/cms/backend/partials_controller.rb +1 -1
- data/app/controllers/ecm/cms/backend/templates_controller.rb +1 -1
- data/app/views/ecm/cms/backend/navigation_items/_table.html.haml +1 -1
- data/config/routes.rb +6 -6
- data/lib/ecm/cms/backend/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 397a5e2cbfa5f7e10554bc890390c640ba128546
|
4
|
+
data.tar.gz: 41c2175f86c59e785b2f693a1c0e31285eabefb3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b2e5cdf1bdc6459b54dc69126a3f9bca1afb9147032cbb9e42e9f59e8d38bee7a91a894ced028c77e9db62f9a0c12b8208070e99df12786c71ede837b837497
|
7
|
+
data.tar.gz: 1df0a2e5ff7415d85ad731ac9ab819267c31459bb7e6d202eb65d187e3c3b8f48d8c1ffd3ed6d8b11e84b15cd88d0692ebc5bdf28c09e8caf4388dde2452ad45
|
@@ -8,7 +8,7 @@ class Ecm::Cms::Backend::NavigationItemsController < Itsf::Backend::Resource::Ba
|
|
8
8
|
private
|
9
9
|
|
10
10
|
def permitted_params
|
11
|
-
params.require(:
|
11
|
+
params.require(:navigation_item)
|
12
12
|
.permit(:ecm_cms_navigation_id, :ecm_cms_page_id, :highlights_on, :key, :name, :parent_id, :options, :url, *Ecm::Cms::Configuration.navigation_item_properties)
|
13
13
|
end
|
14
14
|
end
|
@@ -6,7 +6,7 @@ class Ecm::Cms::Backend::PagesController < Itsf::Backend::Resource::BaseControll
|
|
6
6
|
private
|
7
7
|
|
8
8
|
def permitted_params
|
9
|
-
params.require(:
|
9
|
+
params.require(:page)
|
10
10
|
.permit(:title, :meta_description, :body, :pathname, :basename, :locale, :format, :handler, :layout, ecm_cms_navigation_item_ids: [])
|
11
11
|
end
|
12
12
|
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
= table.association(:ecm_cms_navigation, url: ->(navigation_item) { navigation_path(navigation_item) })
|
1
|
+
= table.association(:ecm_cms_navigation, url: ->(navigation_item) { navigation_path(navigation_item.ecm_cms_navigation) })
|
2
2
|
= table.column(:name) do |navigation_item|
|
3
3
|
%span{ class: "indent indent-chars-#{navigation_item.depth * 3}"}= navigation_item.name
|
4
4
|
= table.column :url
|
data/config/routes.rb
CHANGED
@@ -9,14 +9,14 @@ Ecm::Cms::Backend::Engine.routes.draw do
|
|
9
9
|
post :call, on: :collection
|
10
10
|
end
|
11
11
|
|
12
|
-
|
13
|
-
|
14
|
-
|
12
|
+
backend_resources :content_boxes
|
13
|
+
backend_resources :navigations
|
14
|
+
backend_resources :navigation_items do
|
15
15
|
post :reposition, on: :member
|
16
16
|
end
|
17
|
-
|
18
|
-
|
19
|
-
|
17
|
+
backend_resources :pages
|
18
|
+
backend_resources :partials
|
19
|
+
backend_resources :templates
|
20
20
|
|
21
21
|
root to: 'home#index'
|
22
22
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ecm_cms2_backend
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roberto Vasquez Angel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|