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:
parent
8b8b6a866d
commit
7e3ccbe835
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ module Devise
|
||||||
# TODO: Add this to Rails itslef
|
# TODO: Add this to Rails itslef
|
||||||
module ClassMethods
|
module ClassMethods
|
||||||
def hide!
|
def hide!
|
||||||
Rails::Generators.subclasses.delete(self)
|
Rails::Generators.hide_namespace self.namespace
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue