phcscriptcdn 4.3.4 → 4.3.5

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: 975d10d338731887f4ab61149168c032c5926554
4
- data.tar.gz: abf42125e7dff706e59326958f6faf9f948eaecc
3
+ metadata.gz: e67464cc26d9721ec76e4d9fabbd5b89ba4ae698
4
+ data.tar.gz: bfb6bbc6eb4cd7172b818bbb117fdd3dc6d33118
5
5
  SHA512:
6
- metadata.gz: ee28c674f573574b25e6c33f971bf7f5306c7d0ebd013e3464d2e72f3d06e06816cffe18c5b9173c95e08b5959ad8154c06edf94b52154b718d53137315e0594
7
- data.tar.gz: 88673e2d15b61e4449c81af3773c08b27bf610cff576dfaf613d163c9d007192fa78477596485a0b3854b4fabe3cb53b3763f1393bf9f95bee3acf263a39e13c
6
+ metadata.gz: ec09260d448e0ddee51e45f1cd6616d8a8a1210a2d93b25779c9be50dc0a06423d85e81eb32f0cf702fd4ec3f730b45ea7d04e52fb612f87c906c8324e00464c
7
+ data.tar.gz: a83656b71492c4e0f1e8a0a12aaa165aa9de3c8985d4329307a7fcab6db5216618b54287082785abe9ac0da774dc629de46e3c8ad0d1100d4be6110da1c69708
@@ -1,5 +1,14 @@
1
1
  module Phcscriptcdn
2
- module ApplicationHelper
2
+ module ApplicationHelper
3
3
 
4
- end
5
- end
4
+ # Add Active to Menu
5
+ def is_active_controller(controller_name)
6
+ params[:controller] == controller_name ? "active open selected" : nil
7
+ end
8
+
9
+ def is_active_action(action_name)
10
+ params[:action] == action_name ? "active" : nil
11
+ end
12
+
13
+ end
14
+ end
@@ -1,4 +1,4 @@
1
1
  <div class="pull-right hidden-xs">
2
- <b>Version</b> 4.3.4 - MAR-14-<%= Date.today.year %>
2
+ <b>Version</b> 4.3.5 - MAR-14-<%= Date.today.year %>
3
3
  </div>
4
4
  <strong>&copy; 2012-<%= Time.now.year %> <%= link_to "https://phcnetworks.net", target: "_blank", rel: "nofollow" do %>PHCNetworks<% end %></strong>
@@ -1,3 +1,3 @@
1
1
  module Phcscriptcdn
2
- VERSION = "4.3.4"
2
+ VERSION = "4.3.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcscriptcdn
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.4
4
+ version: 4.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts