lib/generators/avo/install_generator.rb in avo-3.0.0.pre12 vs lib/generators/avo/install_generator.rb in avo-3.0.0.pre13
- old
+ new
@@ -11,10 +11,9 @@
def create_initializer_file
route "mount Avo::Engine, at: Avo.configuration.root_path"
template "initializer/avo.tt", "config/initializers/avo.rb"
- directory File.join(__dir__, "templates", "locales"), "config/locales"
create_resources
end
def create_resources
if defined?(User).present?