diff options
author | amingilani <amin@gilani.me> | 2017-06-27 04:30:50 +0500 |
---|---|---|
committer | amingilani <amin@gilani.me> | 2017-06-27 04:30:50 +0500 |
commit | 6fa821e37e28aa007274e621796e3d7ec0497400 (patch) | |
tree | 085337bdacccaa3c63fcad96d4462ed632edaba4 /railties/lib/rails/generators | |
parent | 61cc630ac7e7f8554dc049a3e5a2509c00303ef8 (diff) | |
download | rails-6fa821e37e28aa007274e621796e3d7ec0497400.tar.gz rails-6fa821e37e28aa007274e621796e3d7ec0497400.tar.bz2 rails-6fa821e37e28aa007274e621796e3d7ec0497400.zip |
Ignore public/assets
Diffstat (limited to 'railties/lib/rails/generators')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/gitignore | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/gitignore b/railties/lib/rails/generators/rails/app/templates/gitignore index 7221c26729..1e6b9afcd2 100644 --- a/railties/lib/rails/generators/rails/app/templates/gitignore +++ b/railties/lib/rails/generators/rails/app/templates/gitignore @@ -26,4 +26,8 @@ /yarn-error.log <% end -%> + +<% unless options[:api] -%> +/public/assets +<% end -%> .byebug_history |