ecm_links2_backend 2.0.3 → 2.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bb67b9c05ed27caf90fad395af76c27a0f48432d
4
- data.tar.gz: bb250590dd83d559d085336676f779c1efd23e37
3
+ metadata.gz: c6342c491c1bc388e9e67bccb955b954e2fb8509
4
+ data.tar.gz: 2d0c636e273cf50001d1dec6ead2b04ade2f260e
5
5
  SHA512:
6
- metadata.gz: 9486c4fb52beda4d8dfd904252fe17153eeca9e76f0415110101cf646861126cd7beca5c9b76fd5414f5549afad9e00d67c5fc2f1ed2e25ad03b05fd5b4433b9
7
- data.tar.gz: cda922e2ea9048fb000d0680cda18e68f0f08da3ef467438150767e26a49962c04816e950b352f6fa5cc244024f5242487878f57118b150f10fc908315079121
6
+ metadata.gz: e409a8ce49ab35bc622278575f354e878f58c8aec8dd9e3f57d9806d4b0cb774a49046efd5f93b6769204e4c719b9307f060baaf547779d9cbd818f0408b297d
7
+ data.tar.gz: 59b20a70ca360ea266b8fcc9271e0bb74f66c8d9c57d24d5c6b7986525df2facf9a96fd7f80e56c6fbd7f65658a596bc438dbe330dc2d5059c959f716b0090be
@@ -1,8 +1,9 @@
1
- = table.column :locale, sortable: true
2
- = table.association :parent, sortable: true
3
- = table.column :name, sortable: true, class: 'truncate-chars truncate-chars-30'
4
- = table.column :short_description, sortable: true, class: 'truncate-chars truncate-chars-30'
5
- = table.column :long_description, sortable: true, class: 'truncate-chars truncate-chars-30'
6
- = table.column :link_footer_column, sortable: true, class: 'truncate-chars truncate-chars-30'
7
- = table.column :links_count, sortable: true
8
- = table.timestamps
1
+ = table.id sort: true
2
+ = table.column :locale, sort: true
3
+ = table.association :parent, sort: true
4
+ = table.column :name, sort: true, class: 'truncate-chars truncate-chars-30'
5
+ = table.column :short_description, sort: true, class: 'truncate-chars truncate-chars-30'
6
+ = table.column :long_description, sort: true, class: 'truncate-chars truncate-chars-30'
7
+ = table.column :link_footer_column, sort: true, class: 'truncate-chars truncate-chars-30'
8
+ = table.column :links_count, sort: true
9
+ = table.timestamps(format: :short, sort: true)
@@ -1,5 +1,6 @@
1
- = table.association(:category, sortable: true)
2
- = table.column :name, sortable: true, class: 'truncate-chars truncate-chars-30'
3
- = table.column :description, sortable: true, class: 'truncate-chars truncate-chars-30'
4
- = table.timestamps
5
- = table.column(:additional_actions) { |link| link_to(t('.visit'), link.url, class: 'btn btn-xs btn-primary') }
1
+ = table.id sort: true
2
+ = table.association :category, sort: true, link_to: ->(resource) { resource.category }
3
+ = table.column :name, sort: true, class: 'truncate-chars truncate-chars-30'
4
+ = table.column :description, sort: true, class: 'truncate-chars truncate-chars-30'
5
+ = table.timestamps format: :short, sort: true
6
+ = table.column(:link_actions) { |link| link_to(t('.visit'), link.url, class: 'btn btn-xs btn-primary') }
data/config/routes.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  Ecm::Links::Backend::Engine.routes.draw do
2
- backend_resources :categories
3
- backend_resources :links
2
+ resources :categories
3
+ resources :links
4
4
 
5
5
  root to: 'home#index'
6
6
  end
@@ -1,7 +1,7 @@
1
1
  module Ecm
2
2
  module Links
3
3
  module Backend
4
- VERSION = '2.0.3'.freeze
4
+ VERSION = '2.0.4'.freeze
5
5
  end
6
6
  end
7
7
  end
@@ -1,4 +1,3 @@
1
1
 
2
2
  localized do
3
- mount Ecm::Links::Backend::Engine, at: '/backend/ecm/links'
4
- end
3
+ mount Ecm::Links::Backend::Engine, at: '/backend/ecm-links-backend-engine'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_links2_backend
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
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: 2018-02-15 00:00:00.000000000 Z
11
+ date: 2018-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails