diff options
author | Prem Sichanugrist <s@sikachu.com> | 2011-04-24 20:21:22 +0800 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-04-25 15:30:58 +0800 |
commit | f2fc921447727a2647f6fab247569b61d546bf10 (patch) | |
tree | 7179d271380fc79a8de126324562915987f0ea6b | |
parent | a1c31eca47f19b14161b275ad6432da562a11438 (diff) | |
download | rails-f2fc921447727a2647f6fab247569b61d546bf10.tar.gz rails-f2fc921447727a2647f6fab247569b61d546bf10.tar.bz2 rails-f2fc921447727a2647f6fab247569b61d546bf10.zip |
No need to check for both full and mountable.
All mountable engine are considered `full?` already.
-rw-r--r-- | railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb b/railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb index 5abb8d0e35..563bff28be 100644 --- a/railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb +++ b/railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb @@ -136,7 +136,7 @@ task :default => :test end def images - if mountable? || full? + if mountable? empty_directory_with_gitkeep "app/assets/images" end end |