ecm_pictures2 4.0.1 → 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: 9a10f41c17b3437eebcb3763c3b32bb30a41faa3
4
- data.tar.gz: 4424f5e3d5ac28309b4ff41f10cd705950fa20ae
3
+ metadata.gz: 4bf368eedc9c2d4163b85cb5982ca45c99e686f0
4
+ data.tar.gz: 366853d474db4ff3a383ca420ae965491037b7e3
5
5
  SHA512:
6
- metadata.gz: ee254b1a5007d66f6f4c1da0bbd13b0f857b65782e6f453f5a5e91d606f304ef46f7532f6916635e04365625253e6b532e413f6026427aacd6af9244ca73e898
7
- data.tar.gz: 4f28ac819ecda6427824add00df5239e348a5c3a74bba05892ffe8dad25f3a0f6f16afa3553079bb492b63cd17f368f3b0b78cb4108c0319c6c7cb90d67d0efb
6
+ metadata.gz: 4e30bafdb7fa991f158d6e80c6fa4da05cc4fda23468181aa91682d46473c36967695ac7107524a497064a478819fadd36a6251f7ac34434c5879bf6e4e43041
7
+ data.tar.gz: 5b0d91def2451430133aa7ae4f97faec2d058c6dca64e77d2c4834a9750bcdd6389f96bec29b95d4ca139117ecb8d35dfa10b1e05af11ff5a8bbf92053739a3e
@@ -26,5 +26,6 @@ de:
26
26
  actions:
27
27
  back: 'Zurück'
28
28
  routes:
29
+ ecm_pictures: bilder
29
30
  galleries: galerien
30
31
  pictures: bilder
@@ -15,4 +15,8 @@ en:
15
15
  missing_gallery: "Could not find picture gallery %{name}"
16
16
  views:
17
17
  actions:
18
- back: 'Back'
18
+ back: 'Back'
19
+ routes:
20
+ ecm_pictures: pictures
21
+ galleries: galleries
22
+ pictures: pictures
@@ -15,7 +15,4 @@ de:
15
15
  pictures: Bilder
16
16
  pictures_count: Bilder
17
17
  position: Position
18
- updated_at: Aktualisiert am
19
- routes:
20
- ecm_pictures_galleries: bildgalerien
21
-
18
+ updated_at: Aktualisiert am
@@ -15,7 +15,4 @@ en:
15
15
  pictures: pictures
16
16
  pictures_count: pictures
17
17
  position: position
18
- updated_at: updated at
19
- routes:
20
- ecm_pictures_galleries: picture-galleries
21
-
18
+ updated_at: updated at
@@ -22,7 +22,4 @@ de:
22
22
  position: Position
23
23
  preview_picture: Vorschau
24
24
  thumbnail: Vorschau
25
- updated_at: Aktualisiert am
26
- routes:
27
- ecm_pictures_pictures: bilder
28
-
25
+ updated_at: Aktualisiert am
@@ -21,7 +21,4 @@ en:
21
21
  position: position
22
22
  preview_picture: preview
23
23
  thumbnail: thumbnail
24
- updated_at: updated at
25
- routes:
26
- ecm_pictures_pictures: pictures
27
-
24
+ updated_at: updated at
data/config/routes.rb CHANGED
@@ -1,6 +1,9 @@
1
1
  Ecm::Pictures::Engine.routes.draw do
2
2
  localized do
3
- resources :galleries, only: [:index, :show]
4
- resources :pictures, only: [:index, :show]
3
+ scope :ecm_pictures do
4
+ resources :galleries, only: [:index, :show]
5
+ resources :pictures, only: [:index, :show]
6
+ end
7
+ root to: 'galleries#index'
5
8
  end
6
9
  end
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module Pictures
3
- VERSION = '4.0.1'
3
+ VERSION = '5.0.0'
4
4
  end
5
5
  end
@@ -1,5 +1,2 @@
1
1
 
2
- # ECM Pictures Frontend Routing
3
- localized do
4
- Ecm::Pictures::Routing.routes(self)
5
- end
2
+ mount Ecm::Pictures::Engine, at: '/'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_pictures2
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
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-04-05 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