diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2015-12-31 23:50:41 +0530 |
---|---|---|
committer | Prathamesh Sonpatki <csonpatki@gmail.com> | 2016-01-01 20:40:58 +0530 |
commit | a15c82fb8f1ebd4e8754737dc1dc8c1fc0e8b5aa (patch) | |
tree | 90cd3fdae77c44e900bcceda152065b48f65361e /railties | |
parent | 4ff5f6a15bb8f89c07b396a81b825a4efaaecd29 (diff) | |
download | rails-a15c82fb8f1ebd4e8754737dc1dc8c1fc0e8b5aa.tar.gz rails-a15c82fb8f1ebd4e8754737dc1dc8c1fc0e8b5aa.tar.bz2 rails-a15c82fb8f1ebd4e8754737dc1dc8c1fc0e8b5aa.zip |
Create application_record under namespaced directory in plugin
- Earlier it was creating application_record.rb under `app/models`, after
this change, it will create application_record.rb under
`app/models/plugin_name` similar to other application classes.
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/plugin/templates/app/models/%namespaced_name%/application_record.rb.tt (renamed from railties/lib/rails/generators/rails/plugin/templates/app/models/application_record.rb.tt) | 0 | ||||
-rw-r--r-- | railties/lib/rails/generators/rails/plugin/templates/app/models/.empty_directory | 0 |
2 files changed, 0 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/plugin/templates/app/models/application_record.rb.tt b/railties/lib/rails/generators/rails/plugin/templates/app/models/%namespaced_name%/application_record.rb.tt index 8aa3de78f1..8aa3de78f1 100644 --- a/railties/lib/rails/generators/rails/plugin/templates/app/models/application_record.rb.tt +++ b/railties/lib/rails/generators/rails/plugin/templates/app/models/%namespaced_name%/application_record.rb.tt diff --git a/railties/lib/rails/generators/rails/plugin/templates/app/models/.empty_directory b/railties/lib/rails/generators/rails/plugin/templates/app/models/.empty_directory deleted file mode 100644 index e69de29bb2..0000000000 --- a/railties/lib/rails/generators/rails/plugin/templates/app/models/.empty_directory +++ /dev/null |