cms-fortress 1.1.5 → 1.1.6
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: b7080dd41dcb7e275d0ae66539422722714f4a72
|
4
|
+
data.tar.gz: f4dbcb4e8240a697876f1b2f59e01c3a5a7fc6a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84f90cb48f2db5ee86ce0200678a9202757d635ad5bcb0f8aa7aa33c173cb01de2a56f582d66be49decc0c5b61293ced53da2a8d5791d8c007de2cb6c373345e
|
7
|
+
data.tar.gz: 670d4001339024a47397c80ee96dc50bf4d0d59ccf77eb73c5efc135942a58c212529789874e8ecfd45a956a830eece9b7fc4d863ae50beba8e8bc73856c15b9
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.6
|
@@ -3,6 +3,11 @@ module Cms
|
|
3
3
|
|
4
4
|
module ApplicationHelper
|
5
5
|
|
6
|
+
def role_display(command)
|
7
|
+
res = command.split(".")
|
8
|
+
raw "#{content_tag(:strong, res.first.titleize) } / #{ res[1..-1].map {|r| r.titleize}.join(" - ") }"
|
9
|
+
end
|
10
|
+
|
6
11
|
def theme_name
|
7
12
|
Cms::Fortress.configuration.theme.to_s
|
8
13
|
end
|
data/cms-fortress.gemspec
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
|
2
1
|
module Cms
|
3
2
|
module Fortress
|
4
3
|
module ApplicationControllerMethods
|
@@ -29,7 +28,8 @@ module Cms
|
|
29
28
|
end
|
30
29
|
|
31
30
|
def ability_class
|
32
|
-
|
31
|
+
|
32
|
+
if defined?(Ability)
|
33
33
|
Ability
|
34
34
|
else
|
35
35
|
CmsAbility
|