zen 0.4.1 → 0.4.2
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.
- data/guide/changelog.md +6 -0
- data/lib/zen/package/menu.rb +1 -1
- data/lib/zen/version.rb +1 -1
- metadata +1 -1
data/guide/changelog.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.2 - April 16th, 2012
|
|
4
|
+
|
|
5
|
+
* Bugfix for rendering menu items in the backend. Due to a typo the menu items
|
|
6
|
+
in the backend would only be displayed if a user was a super user. Because
|
|
7
|
+
this is a rather annoying issue I decided to push another release.
|
|
8
|
+
|
|
3
9
|
## 0.4.1 - April 16th, 2012
|
|
4
10
|
|
|
5
11
|
* Updated various version requirements.
|
data/lib/zen/package/menu.rb
CHANGED
|
@@ -80,7 +80,7 @@ module Zen
|
|
|
80
80
|
def html(permissions = [])
|
|
81
81
|
# Skip the navigation menu and all it's child elements if the user isn't
|
|
82
82
|
# allowed to view it.
|
|
83
|
-
if @options[:permission] and !user_authorized?(@options[:
|
|
83
|
+
if @options[:permission] and !user_authorized?(@options[:permission])
|
|
84
84
|
return
|
|
85
85
|
end
|
|
86
86
|
|
data/lib/zen/version.rb
CHANGED