module Devise::Generators::ViewPathTemplates

def copy_views

def copy_views
  view_directory :confirmations
  view_directory :passwords
  view_directory :registrations
  view_directory :sessions
  view_directory :unlocks
end

def target_path

def target_path
  @target_path ||= "app/views/#{scope || :devise}"
end

def view_directory(name, _target_path = nil)

def view_directory(name, _target_path = nil)
  directory name.to_s, _target_path || "#{target_path}/#{name}"
end