ecm_contact2 3.0.0 → 4.0.0

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4b3a18e49b3476278af7432c651db18f6a638552
4
- data.tar.gz: b597d6b4603848e87b467ba3d2dc2871fa01ea85
3
+ metadata.gz: 3cf7050f8a9b854f16f175cb0dc3428a7bfabd08
4
+ data.tar.gz: 17b1f7ff5e4ffc7e16291a5edfff6e469f791229
5
5
  SHA512:
6
- metadata.gz: d16539b4e18c86ea99a21bd6042010e4578c68e55edc6be472a4d235b1d9ae0bfd9a9eeea852c2b8507b9823bd9ccdd942cb5508b30e81c7fec4626290700d18
7
- data.tar.gz: 82b1874e06c3228f02961b6a439f613051d54b17947885eccd2d99c9140fb1106411fc73f52a3f032dcc041a5fa9434f021f6a9062e820b656f0673caf16512a
6
+ metadata.gz: 1438fdb7306549b10384a3dad46942cb31d68d61ac4385e034a3a9a89db48aae632c87e429ef06a629c2d051cad1a88d3ac07e2afcf6839d7f00e8a1de954f6f
7
+ data.tar.gz: 31174ee40de67323f93fac79bd5d0f8b4c77117b38e3544cf3877b5963af9f0485c5c7f95b9508d28df3c67032f85dc08d47c1b0dad2992b11b3cd3bac0a4d72
@@ -17,7 +17,8 @@ de:
17
17
  actions:
18
18
  back: 'Zurück'
19
19
  routes:
20
- contact_requests: kontakt
20
+ ecm_contact: kontakt
21
+ contact_requests: anfrage
21
22
  simple_form:
22
23
  "yes": 'Ja'
23
24
  "no": 'Nein'
@@ -17,7 +17,8 @@ en:
17
17
  actions:
18
18
  back: 'Back'
19
19
  routes:
20
- contact_requests: contact
20
+ ecm_contact: contact
21
+ contact_requests: request
21
22
  simple_form:
22
23
  "yes": 'Yes'
23
24
  "no": 'No'
data/config/routes.rb CHANGED
@@ -1,5 +1,8 @@
1
1
  Ecm::Contact::Engine.routes.draw do
2
2
  localized do
3
- resources :contact_requests, only: [:create, :index]
3
+ scope :ecm_contact do
4
+ resources :contact_requests, only: [:create, :index]
5
+ root to: 'contact_requests#index'
6
+ end
4
7
  end
5
8
  end
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module Contact
3
- VERSION = '3.0.0'.freeze
3
+ VERSION = '4.0.0'.freeze
4
4
  end
5
5
  end
@@ -1,5 +1,2 @@
1
1
 
2
- # ECM Contact Frontend Routing
3
- localized do
4
- Ecm::Contact::Routing.routes(self)
5
- end
2
+ mount Ecm::Contact::Engine, at: '/'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_contact2
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 4.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-06 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