lib/generators/devise/views_generator.rb in devise-4.7.1 vs lib/generators/devise/views_generator.rb in devise-4.7.2
- old
+ new
@@ -40,10 +40,10 @@
protected
def view_directory(name, _target_path = nil)
directory name.to_s, _target_path || "#{target_path}/#{name}" do |content|
if scope
- content.gsub "devise/shared/links", "#{plural_scope}/shared/links"
+ content.gsub("devise/shared", "#{plural_scope}/shared")
else
content
end
end
end