1
0
Fork 0
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:
José Valim 2010-03-23 00:39:27 +01:00
parent 8fbbe34bdd
commit 76e45ecb12

View file

@ -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