mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Bring unloadable back.
This commit is contained in:
parent
8fbbe34bdd
commit
76e45ecb12
1 changed files with 4 additions and 2 deletions
|
@ -8,8 +8,10 @@ module Devise
|
|||
include Devise::Controllers::ScopedViews
|
||||
|
||||
included do
|
||||
helpers = [:resource, :scope_name, :resource_name,
|
||||
:resource_class, :devise_mapping, :devise_controller?]
|
||||
unloadable
|
||||
|
||||
helpers = %w(resource scope_name resource_name
|
||||
resource_class devise_mapping devise_controller?)
|
||||
|
||||
hide_action *helpers
|
||||
helper_method *helpers
|
||||
|
|
Loading…
Reference in a new issue