mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Delete unnecessary hide! method
This method has already been added to Rails.
This commit is contained in:
parent
7a7a099573
commit
a24f98f315
1 changed files with 0 additions and 7 deletions
|
@ -21,13 +21,6 @@ module Devise
|
|||
public_task :copy_views
|
||||
end
|
||||
|
||||
# TODO: Add this to Rails itself
|
||||
module ClassMethods
|
||||
def hide!
|
||||
Rails::Generators.hide_namespace self.namespace
|
||||
end
|
||||
end
|
||||
|
||||
def copy_views
|
||||
if options[:views]
|
||||
options[:views].each do |directory|
|
||||
|
|
Loading…
Add table
Reference in a new issue