Module: Devise::Controllers::InternalHelpers::ScopedViews

Included in:
DeviseMailer
Defined in:
lib/devise/controllers/internal_helpers.rb

Instance Method Summary collapse

Instance Method Details

#scoped_viewsObject



22
23
24
# File 'lib/devise/controllers/internal_helpers.rb', line 22

def scoped_views
  defined?(@scoped_views) ? @scoped_views : Devise.scoped_views
end

#scoped_views=(value) ⇒ Object



26
27
28
# File 'lib/devise/controllers/internal_helpers.rb', line 26

def scoped_views=(value)
  @scoped_views = value
end