1
0
Fork 0
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:
masatooba 2017-10-28 01:26:16 +09:00
parent 7a7a099573
commit a24f98f315

View file

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