1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00

Better implementation for hide!

This commit is contained in:
José Valim 2012-02-03 09:12:15 +01:00
parent 8b8b6a866d
commit 7e3ccbe835

View file

@ -16,7 +16,7 @@ module Devise
# TODO: Add this to Rails itslef
module ClassMethods
def hide!
Rails::Generators.subclasses.delete(self)
Rails::Generators.hide_namespace self.namespace
end
end