di-simple_auth 0.2.2 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/simple_auth/authentication.rb +1 -1
- metadata +2 -2
data/VERSION.yml
CHANGED
@@ -8,7 +8,7 @@ module SimpleAuth
|
|
8
8
|
|
9
9
|
module ClassMethods
|
10
10
|
def self.extended(controller)
|
11
|
-
controller.helper_method :current_user, :signed_in?, :signed_out?
|
11
|
+
controller.helper_method :current_user, :signed_in?, :signed_out? , :current_permission
|
12
12
|
controller.hide_action :current_user, :current_user=,
|
13
13
|
:signed_in?, :signed_out?,
|
14
14
|
:sign_in, :sign_out,
|