rostra 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ module Rostra
3
3
 
4
4
  include Rostra::Config
5
5
 
6
- helper_method :user_logged_in?, :rostra_user, :main_app_login_path, :main_app_signup_path
6
+ helper_method :user_logged_in?, :main_app_login_path, :main_app_signup_path, :rostra_user
7
7
 
8
8
  rescue_from CanCan::AccessDenied do |exception|
9
9
  after_access_denied
@@ -13,6 +13,14 @@ module Rostra
13
13
  send(Rostra::Config.rostra_user)
14
14
  end
15
15
 
16
+ helper_method Rostra::Config.rostra_user
17
+
18
+ # def current_user
19
+ # rostra_user
20
+ # end
21
+
22
+ # alias :current_user :
23
+
16
24
  def main_app_login_path
17
25
  send(:main_app).send(Rostra::Config.main_app_login_path)
18
26
  end
@@ -1,3 +1,3 @@
1
1
  module Rostra
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rostra
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.6
5
+ version: 0.0.7
6
6
  platform: ruby
7
7
  authors:
8
8
  - Cory Schires