ecm_news2 4.0.0 → 5.0.0

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: 690fec36cd3032b49670e75d15b2375297c4d082
4
- data.tar.gz: c89d34d4762c5a75ab416f5fc18471f2c30c71ec
3
+ metadata.gz: aef7181e632e46ab12e0dd12d677813ed969163d
4
+ data.tar.gz: bedef113f6d00e10fad7d234ea50d52317791563
5
5
  SHA512:
6
- metadata.gz: 91c7ba0d980eafcfeaef985e4ef37167ccbaede230510f798f64b9447f39ada44e60431707949d54922fbff98f8ca74f9506164a12ae1b96cb3e38f2835b09d3
7
- data.tar.gz: 483f29f46826c93b1d2c3a0d3b658432c469a1ce2257fc8bec908eee18b7f4d75348ca940037663a46e88b2d1c7c88d75c7c644d973f808325e108020c09475d
6
+ metadata.gz: 912ad70f1c420cbb9069f6297f9ffaea8b65f73a23eb888959ddfd114671a3116d67dae679f79517d6732ee0054972eecd46f78f6bbb02f6d453617216377735
7
+ data.tar.gz: 7d1d0f27673d7dc95cf5debe7ab2634ae06043e8bcbf5372b36afd733ec54775f2869aa63d929ae1ac2560506c17461f2d4b7bf38c5b162ffc94f93b6e681438
@@ -20,6 +20,8 @@ de:
20
20
  actions:
21
21
  back: Zurück
22
22
  more: Weiterlesen
23
+ routes:
24
+ ecm_news: news
23
25
  views:
24
26
  pagination:
25
27
  first: "« Erste Seite"
@@ -20,6 +20,8 @@ en:
20
20
  actions:
21
21
  back: Back
22
22
  more: Continue reading
23
+ routes:
24
+ ecm_news: news
23
25
  views:
24
26
  pagination:
25
27
  first: "« First"
@@ -19,5 +19,5 @@ de:
19
19
  title: Titel
20
20
  updated_at: Aktualisiert am
21
21
  routes:
22
- items: 'news-eintraege'
22
+ items: 'eintraege'
23
23
 
@@ -19,5 +19,5 @@ en:
19
19
  title: title
20
20
  updated_at: updated at
21
21
  routes:
22
- ecm_news_items: news-items
22
+ ecm_news_items: items
23
23
 
data/config/routes.rb CHANGED
@@ -1,7 +1,10 @@
1
1
  Ecm::News::Engine.routes.draw do
2
2
  localized do
3
- resources :items, only: [:index, :show] do
4
- get 'page/:page', action: :index, on: :collection
3
+ scope :ecm_news do
4
+ resources :items, only: [:index, :show] do
5
+ get 'page/:page', action: :index, on: :collection
6
+ end
7
+ root to: 'items#index'
5
8
  end
6
9
  end
7
10
  end
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module News
3
- VERSION = '4.0.0'
3
+ VERSION = '5.0.0'
4
4
  end
5
5
  end
@@ -1,5 +1,2 @@
1
1
 
2
- # ECM News Frontend Routing
3
- localized do
4
- Ecm::News::Routing.routes(self)
5
- end
2
+ mount Ecm::News::Engine, at: '/'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_news2
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 5.0.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: 2017-05-03 00:00:00.000000000 Z
11
+ date: 2017-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails