Permalink
Browse files

No need to check for both full and mountable.

All mountable engine are considered `full?` already.
  • Loading branch information...
1 parent a1c31ec commit f2fc921447727a2647f6fab247569b61d546bf10 @sikachu sikachu committed with josevalim Apr 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb
@@ -136,7 +136,7 @@ def javascripts
end
def images
- if mountable? || full?
+ if mountable?
empty_directory_with_gitkeep "app/assets/images"
end
end

0 comments on commit f2fc921

Please sign in to comment.