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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e67464cc26d9721ec76e4d9fabbd5b89ba4ae698
|
4
|
+
data.tar.gz: bfb6bbc6eb4cd7172b818bbb117fdd3dc6d33118
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec09260d448e0ddee51e45f1cd6616d8a8a1210a2d93b25779c9be50dc0a06423d85e81eb32f0cf702fd4ec3f730b45ea7d04e52fb612f87c906c8324e00464c
|
7
|
+
data.tar.gz: a83656b71492c4e0f1e8a0a12aaa165aa9de3c8985d4329307a7fcab6db5216618b54287082785abe9ac0da774dc629de46e3c8ad0d1100d4be6110da1c69708
|
@@ -1,5 +1,14 @@
|
|
1
1
|
module Phcscriptcdn
|
2
|
-
|
2
|
+
module ApplicationHelper
|
3
3
|
|
4
|
-
|
5
|
-
|
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.
|
2
|
+
<b>Version</b> 4.3.5 - MAR-14-<%= Date.today.year %>
|
3
3
|
</div>
|
4
4
|
<strong>© 2012-<%= Time.now.year %> <%= link_to "https://phcnetworks.net", target: "_blank", rel: "nofollow" do %>PHCNetworks<% end %></strong>
|
data/lib/phcscriptcdn/version.rb
CHANGED