user_mgmt 0.6.10 → 0.7

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.
@@ -14,7 +14,7 @@
14
14
  %div
15
15
  = text_field :user, 'Password Confirmation', :class => "input-block-level", :type => "password", :placeholder => 'Password Confirmation'
16
16
 
17
- - if current_user["admin"] == true
17
+ - if current_user && current_user["admin"] == true
18
18
  %div
19
19
  Admin?
20
20
  = check_box :user, 'Admin?', :class => "input-block-level", :placeholder => 'Admin?'
@@ -1,3 +1,3 @@
1
1
  module UserMgmt
2
- VERSION = "0.6.10"
2
+ VERSION = "0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: user_mgmt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.10
4
+ version: '0.7'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: