1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

No need to check for both full and mountable.

All mountable engine are considered `full?` already.
This commit is contained in:
Prem Sichanugrist 2011-04-24 20:21:22 +08:00 committed by José Valim
parent a1c31eca47
commit f2fc921447

View file

@ -136,7 +136,7 @@ task :default => :test
end
def images
if mountable? || full?
if mountable?
empty_directory_with_gitkeep "app/assets/images"
end
end