Module: SocialStream::Devise::Controllers::UserSignIn
- Extended by:
- ActiveSupport::Concern
- Included in:
- FrontpageController
- Defined in:
- lib/social_stream/devise/controllers/user_sign_in.rb
Instance Method Summary collapse
- #devise_mapping ⇒ Object
- #resource ⇒ Object
- #resource_class ⇒ Object
- #resource_name ⇒ Object
- #sign_in_controller? ⇒ Boolean
Instance Method Details
#devise_mapping ⇒ Object
26 27 28 |
# File 'lib/social_stream/devise/controllers/user_sign_in.rb', line 26 def devise_mapping ::Devise.mappings[:user] end |
#resource ⇒ Object
14 15 16 |
# File 'lib/social_stream/devise/controllers/user_sign_in.rb', line 14 def resource @user end |
#resource_class ⇒ Object
22 23 24 |
# File 'lib/social_stream/devise/controllers/user_sign_in.rb', line 22 def resource_class User end |
#resource_name ⇒ Object
18 19 20 |
# File 'lib/social_stream/devise/controllers/user_sign_in.rb', line 18 def resource_name :user end |
#sign_in_controller? ⇒ Boolean
30 31 32 |
# File 'lib/social_stream/devise/controllers/user_sign_in.rb', line 30 def sign_in_controller? true end |