lib/kazan/generators/app_generator.rb in kazan-0.3.1 vs lib/kazan/generators/app_generator.rb in kazan-0.4.0

- old
+ new

@@ -31,10 +31,11 @@ invoke :setup_database invoke :setup_assets invoke :setup_helpers invoke :setup_error_pages + invoke :setup_locales invoke :setup_static invoke :setup_bundler_audit invoke :setup_spring @@ -133,19 +134,24 @@ say 'Setup static' build :remove_turbolinks build :stylesheets_gems build :stylesheets_manifest - build :refils - build :bitters end end end def setup_error_pages unless options[:api] say 'Customizing the 500/404/422 pages' build :static_pages + end + end + + def setup_locales + unless options[:api] + say 'Setup locales tools' + build :setup_locales end end def setup_bundler_audit say 'Setup bundler audit'