zen 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.
@@ -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[:permissions])
83
+ if @options[:permission] and !user_authorized?(@options[:permission])
84
84
  return
85
85
  end
86
86
 
@@ -1,4 +1,4 @@
1
1
  module Zen
2
2
  # :nodoc:
3
- VERSION = '0.4.1'
3
+ VERSION = '0.4.2'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: