Skip redundant files when using generators

This commit is contained in:
Martin Lensment 2014-06-10 13:28:36 +03:00
parent 386628a602
commit ac975f65c7

View file

@ -26,5 +26,11 @@ module Internetee
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s] # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
# config.i18n.default_locale = :de # config.i18n.default_locale = :de
config.generators do |g|
g.stylesheets false
g.javascripts false
g.helper false
end
end end
end end