ecm_cms2 3.0.2 → 3.0.3

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: bab80005695f276466ea83dcee925630333bfa55
4
- data.tar.gz: ce7f67757e44f0e03baa97810f184548dbddf420
3
+ metadata.gz: 02c1f90f33a369042aefdddaa0bd122dac5b0f15
4
+ data.tar.gz: 08b81416e80b266b5f23a7ac92d8bc268d97e1ad
5
5
  SHA512:
6
- metadata.gz: 2e02848b1feb0c8003a1a29561ac00fefc5c320246928b49b244ca605561e63b1d89f097c1d2b19dc566c92b4ba4c6551e74377041bff4071b6ee03e3d5dc510
7
- data.tar.gz: 694dcbc9870cfb11955b97085f1fe06dc9cae186d27b3d2dc1af022005beff1a5566de0036fa4d746c6c36397eecf9833724b2443ac951ae5c5811e2eb025a0c
6
+ metadata.gz: 969030c1f190ff7ee2b5fb754da7a3d8cce753e7b461b221dbb9a6878d92328dca21036f3b9d42e65a1cd076c159e90b7182fbe5ff275e289c916a35134caa59
7
+ data.tar.gz: ea9db10b4b58c3ba346919590d1347d62d43a948b3dd96d40447580c363938603aadf7bc1f3ba6246a846dc14f679357dadbece5b7450e04c710a9f7e5871784
@@ -58,4 +58,8 @@ module Ecm::CmsHelper
58
58
  def current_cms_page?(page)
59
59
  cms_page? && params[:page].to_s == page.to_s
60
60
  end
61
+
62
+ def current_cms_page
63
+ cms_page? ? params[:page].to_s : nil
64
+ end
61
65
  end
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module Cms
3
- VERSION = '3.0.2'
3
+ VERSION = '3.0.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_cms2
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.0.3
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-01-29 00:00:00.000000000 Z
11
+ date: 2017-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails