diff options
author | Yoshiyuki Hirano <yhirano@me.com> | 2017-08-08 04:22:00 +0900 |
---|---|---|
committer | Yoshiyuki Hirano <yhirano@me.com> | 2017-08-08 04:25:39 +0900 |
commit | 1dfc211bfa7ebbce7740898a16994fa58cbedb6a (patch) | |
tree | 5d849a89a91c58f74c50924b1fcf069603208ee4 | |
parent | 7c89948c416fbc32b59e33a0ab454545b4f6fed7 (diff) | |
download | rails-1dfc211bfa7ebbce7740898a16994fa58cbedb6a.tar.gz rails-1dfc211bfa7ebbce7740898a16994fa58cbedb6a.tar.bz2 rails-1dfc211bfa7ebbce7740898a16994fa58cbedb6a.zip |
Use `with_dummy_app?` in gitignore
-rw-r--r-- | railties/lib/rails/generators/rails/plugin/templates/gitignore | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/plugin/templates/gitignore b/railties/lib/rails/generators/rails/plugin/templates/gitignore index 54c78d7927..757172e6a6 100644 --- a/railties/lib/rails/generators/rails/plugin/templates/gitignore +++ b/railties/lib/rails/generators/rails/plugin/templates/gitignore @@ -1,7 +1,7 @@ .bundle/ log/*.log pkg/ -<% unless options[:skip_test] && options[:dummy_path] == 'test/dummy' -%> +<% if with_dummy_app? -%> <%= dummy_path %>/db/*.sqlite3 <%= dummy_path %>/db/*.sqlite3-journal <%= dummy_path %>/log/*.log |